annotate app/views/news/_news.rhtml @ 0:513646585e45
* Import Redmine trunk SVN rev 3859
author |
Chris Cannam |
date |
Fri, 23 Jul 2010 15:52:44 +0100 |
parents |
|
children |
1d32c0a0efbf |
rev |
line source |
Chris@0
|
1 <p><%= link_to(h(news.project.name), :controller => 'projects', :action => 'show', :id => news.project) + ': ' unless @project %>
|
Chris@0
|
2 <%= link_to h(news.title), :controller => 'news', :action => 'show', :id => news %>
|
Chris@0
|
3 <%= "(#{l(:label_x_comments, :count => news.comments_count)})" if news.comments_count > 0 %>
|
Chris@0
|
4 <br />
|
Chris@0
|
5 <% unless news.summary.blank? %><span class="summary"><%=h news.summary %></span><br /><% end %>
|
Chris@0
|
6 <span class="author"><%= authoring news.created_on, news.author %></span></p>
|