index.rhtml
23 lines
| 673 B
| text/html+ruby
|
RhtmlLexer
|
r50 | <h2><%= $RDM_WELCOME_TITLE || l(:label_home) %></h2> | ||
|
r2 | <div class="splitcontentleft"> | ||
|
r50 | <% if $RDM_WELCOME_TEXT %><p><%= $RDM_WELCOME_TEXT %></p><br /><% end %> | ||
|
r2 | <div class="box"> | ||
|
r12 | <h3><%=l(:label_news_latest)%></h3> | ||
|
r96 | <%= render :partial => 'news/news', :collection => @news %> | ||
|
r2 | </div> | ||
</div> | ||||
<div class="splitcontentright"> | ||||
<div class="box"> | ||||
|
r12 | <h3><%=l(:label_project_latest)%></h3> | ||
|
r2 | <ul> | ||
<% for project in @projects %> | ||||
<li> | ||||
|
r12 | <%= link_to project.name, :controller => 'projects', :action => 'show', :id => project %> (<%= format_time(project.created_on) %>)<br /> | ||
|
r96 | <%=h project.description %> | ||
|
r2 | </li> | ||
<% end %> | ||||
</ul> | ||||
|
r12 | </div> | ||
|
r2 | </div> | ||