Commit cf4e2165 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

Project name is now displayed in news titles when not inside the project (eg. home page).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@619 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 1eff42ed
<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>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment