1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-19 01:52:00 +00:00
redmine/app/views/news/_news.html.erb
Jean-Philippe Lang c27e917843 HTML improvements on project landing page (#18565).
Patch by Tobias Fischer.

git-svn-id: http://svn.redmine.org/redmine/trunk@13753 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-13 18:24:10 +00:00

7 lines
423 B
Plaintext

<p><%= link_to_project(news.project) + ': ' unless @project %>
<%= link_to h(news.title), news_path(news) %>
<% if news.comments_count > 0 %><span class="comments">(<%= l(:label_x_comments, :count => news.comments_count) %>)</span><% end %>
<br />
<% unless news.summary.blank? %><span class="summary"><%=h news.summary %></span><br /><% end %>
<span class="author"><%= authoring news.created_on, news.author %></span></p>