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
This commit is contained in:
parent
1eff42eda6
commit
cf4e216502
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue