index.rhtml
26 lines
| 775 B
| text/html+ruby
|
RhtmlLexer
|
r164 | <h2><%= l(:label_home) %></h2> | |
|
r50 | ||
|
r2 | <div class="splitcontentleft"> | |
|
r164 | <p><%= Setting.welcome_text %></p> | |
|
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"> | |||
|
r154 | <h3 class="icon22 icon22-projects"><%=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> | |
|
r118 | ||
<% content_for :header_tags do %> | |||
<%= auto_discovery_link_tag(:rss, {:controller => 'feeds' , :action => 'news' }) %> | |||
<% end %> |