@@ -24,13 +24,17 | |||||
24 | <p class="nodata"><%= l(:label_no_data) %></p> |
|
24 | <p class="nodata"><%= l(:label_no_data) %></p> | |
25 | <% else %> |
|
25 | <% else %> | |
26 | <% @newss.each do |news| %> |
|
26 | <% @newss.each do |news| %> | |
27 | <h3><%= avatar(news.author, :size => "24") %><%= link_to_project(news.project) + ': ' unless news.project == @project %> |
|
27 | <article class="news-article"> | |
28 | <%= link_to news.title, news_path(news) %> |
|
28 | <header> | |
29 | <%= "(#{l(:label_x_comments, :count => news.comments_count)})" if news.comments_count > 0 %></h3> |
|
29 | <h3><%= avatar(news.author, :size => "24") %><%= link_to_project(news.project) + ': ' unless news.project == @project %> | |
30 | <p class="author"><%= authoring news.created_on, news.author %></p> |
|
30 | <%= link_to h(news.title), news_path(news) %> | |
31 | <div class="wiki"> |
|
31 | <%= "(#{l(:label_x_comments, :count => news.comments_count)})" if news.comments_count > 0 %></h3> | |
32 | <%= textilizable(news, :description) %> |
|
32 | <p class="author"><%= authoring news.created_on, news.author %></p> | |
33 |
|
|
33 | </header> | |
|
34 | <div class="wiki"> | |||
|
35 | <%= textilizable(news, :description) %> | |||
|
36 | </div> | |||
|
37 | </article> | |||
34 | <% end %> |
|
38 | <% end %> | |
35 | <% end %> |
|
39 | <% end %> | |
36 | <p class="pagination"><%= pagination_links_full @news_pages %></p> |
|
40 | <p class="pagination"><%= pagination_links_full @news_pages %></p> |
General Comments 0
You need to be logged in to leave comments.
Login now