From 2dc3850798448e3698ae9f7c4c23033827d7cd64 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 2 Jan 2007 15:27:10 +0000 Subject: added an icon on news comments git-svn-id: http://redmine.rubyforge.org/svn/trunk@142 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/news/show.rhtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/views/news') diff --git a/app/views/news/show.rhtml b/app/views/news/show.rhtml index 374bf72af..bffefa769 100644 --- a/app/views/news/show.rhtml +++ b/app/views/news/show.rhtml @@ -5,14 +5,14 @@

<%=h @news.title %>

-

<%=h @news.summary %>
+

<% unless @news.summary.empty? %><%=h @news.summary %>
<% end %> <%= @news.author.display_name %>, <%= format_time(@news.created_on) %>


<%= textilizable auto_link @news.description %>
-

<%= l(:label_comment_plural) %>

+

<%= l(:label_comment_plural) %>

<% @news.comments.each do |comment| %> <% next if comment.new_record? %>

<%= format_time(comment.created_on) %> - <%= comment.author.name %>

-- cgit v1.2.3