Mercurial > hg > soundsoftware-site
comparison app/views/news/_news.rhtml @ 37:94944d00e43c
* Update to SVN trunk rev 4411
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Fri, 19 Nov 2010 13:24:41 +0000 |
parents | 1d32c0a0efbf |
children | 30f68ecfdde4 |
comparison
equal
deleted
inserted
replaced
22:40f7cfd4df19 | 37:94944d00e43c |
---|---|
1 <p><%= link_to_project(news.project) + ': ' unless @project %> | 1 <p><%= link_to_project(news.project) + ': ' unless @project %> |
2 <%= link_to h(news.title), :controller => 'news', :action => 'show', :id => news %> | 2 <%= link_to h(news.title), news_path(news) %> |
3 <%= "(#{l(:label_x_comments, :count => news.comments_count)})" if news.comments_count > 0 %> | 3 <%= "(#{l(:label_x_comments, :count => news.comments_count)})" if news.comments_count > 0 %> |
4 <br /> | 4 <br /> |
5 <% unless news.summary.blank? %><span class="summary"><%=h news.summary %></span><br /><% end %> | 5 <% unless news.summary.blank? %><span class="summary"><%=h news.summary %></span><br /><% end %> |
6 <span class="author"><%= authoring news.created_on, news.author %></span></p> | 6 <span class="author"><%= authoring news.created_on, news.author %></span></p> |