redmine/app/views/news/_news.html.erb

7 lines
419 B
Plaintext
Raw Normal View History

<p><%= link_to_project(news.project) + ': ' unless @project %>
<%= link_to 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"><%= news.summary %></span><br /><% end %>
<span class="author"><%= authoring news.created_on, news.author %></span></p>