diff options
-rw-r--r-- | app/views/news/_news.rhtml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/news/_news.rhtml b/app/views/news/_news.rhtml index 1b1d35b1d..7a065ba4e 100644 --- a/app/views/news/_news.rhtml +++ b/app/views/news/_news.rhtml @@ -1,4 +1,5 @@ -<p><%= link_to h(news.title), :controller => 'news', :action => 'show', :id => news %><br /> +<p><%= link_to(h(news.project.name), :controller => 'projects', :action => 'show', :id => news.project) + ': ' unless @project %> +<%= link_to h(news.title), :controller => 'news', :action => 'show', :id => news %><br /> <% unless news.summary.blank? %><%=h news.summary %><br /><% end %> <em><%= news.author.name %>, <%= format_time(news.created_on) %></em><br /> <%= news.comments_count %> <%= lwr(:label_comment, news.comments_count).downcase %><br /></p> |