_news.rhtml
6 lines
| 510 B
| text/html+ruby
|
RhtmlLexer
|
r616 | <p><%= link_to(h(news.project.name), :controller => 'projects', :action => 'show', :id => news.project) + ': ' unless @project %> | ||
|
r736 | <%= link_to h(news.title), :controller => 'news', :action => 'show', :id => news %> | ||
<%= "(#{news.comments_count} #{lwr(:label_comment, news.comments_count).downcase})" if news.comments_count > 0 %></span> | ||||
<br /> | ||||
<% unless news.summary.blank? %><span class="summary"><%=h news.summary %></span><br /><% end %> | ||||
<span class="author"><%= authoring news.created_on, news.author %></p> | ||||