Mercurial > hg > soundsoftware-site
diff app/views/news/.svn/text-base/index.rhtml.svn-base @ 14:1d32c0a0efbf
* Update to SVN trunk (revisions 3892-4040)
author | Chris Cannam |
---|---|
date | Wed, 25 Aug 2010 16:30:24 +0100 |
parents | 513646585e45 |
children | 40f7cfd4df19 |
line wrap: on
line diff
--- a/app/views/news/.svn/text-base/index.rhtml.svn-base Wed Jul 28 12:47:17 2010 +0100 +++ b/app/views/news/.svn/text-base/index.rhtml.svn-base Wed Aug 25 16:30:24 2010 +0100 @@ -28,7 +28,7 @@ <p class="nodata"><%= l(:label_no_data) %></p> <% else %> <% @newss.each do |news| %> - <h3><%= link_to(h(news.project.name), :controller => 'projects', :action => 'show', :id => news.project) + ': ' unless news.project == @project %> + <h3><%= link_to_project(news.project) + ': ' unless news.project == @project %> <%= link_to h(news.title), :controller => 'news', :action => 'show', :id => news %> <%= "(#{l(:label_x_comments, :count => news.comments_count)})" if news.comments_count > 0 %></h3> <p class="author"><%= authoring news.created_on, news.author %></p>