mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-06 07:31:31 +00:00
Put news articles into <article> tags (#19339).
Patch by An Phan. git-svn-id: http://svn.redmine.org/redmine/trunk@14308 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
156e3078e2
commit
b39ed08114
@ -24,13 +24,17 @@
|
||||
<p class="nodata"><%= l(:label_no_data) %></p>
|
||||
<% else %>
|
||||
<% @newss.each do |news| %>
|
||||
<h3><%= avatar(news.author, :size => "24") %><%= link_to_project(news.project) + ': ' unless news.project == @project %>
|
||||
<%= link_to news.title, news_path(news) %>
|
||||
<%= "(#{l(:label_x_comments, :count => news.comments_count)})" if news.comments_count > 0 %></h3>
|
||||
<p class="author"><%= authoring news.created_on, news.author %></p>
|
||||
<div class="wiki">
|
||||
<%= textilizable(news, :description) %>
|
||||
</div>
|
||||
<article class="news-article">
|
||||
<header>
|
||||
<h3><%= avatar(news.author, :size => "24") %><%= link_to_project(news.project) + ': ' unless news.project == @project %>
|
||||
<%= link_to h(news.title), news_path(news) %>
|
||||
<%= "(#{l(:label_x_comments, :count => news.comments_count)})" if news.comments_count > 0 %></h3>
|
||||
<p class="author"><%= authoring news.created_on, news.author %></p>
|
||||
</header>
|
||||
<div class="wiki">
|
||||
<%= textilizable(news, :description) %>
|
||||
</div>
|
||||
</article>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<p class="pagination"><%= pagination_links_full @news_pages %></p>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user