diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-01-02 15:27:10 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-01-02 15:27:10 +0000 |
commit | 2dc3850798448e3698ae9f7c4c23033827d7cd64 (patch) | |
tree | 0cdc932a83a6e219dddec4c43e1b26cba8f92e5b /app/views/news | |
parent | 18001e5a5b14cae3a3852c1f9d3da9c014fe9fd3 (diff) | |
download | redmine-2dc3850798448e3698ae9f7c4c23033827d7cd64.tar.gz redmine-2dc3850798448e3698ae9f7c4c23033827d7cd64.zip |
added an icon on news comments
git-svn-id: http://redmine.rubyforge.org/svn/trunk@142 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/news')
-rw-r--r-- | app/views/news/show.rhtml | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ <h2><%=h @news.title %></h2>
-<p><em><%=h @news.summary %><br />
+<p><em><% unless @news.summary.empty? %><%=h @news.summary %><br /><% end %>
<%= @news.author.display_name %>, <%= format_time(@news.created_on) %></em></p>
<br />
<%= textilizable auto_link @news.description %> <br />
<div id="comments" style="margin-bottom:16px;">
-<h3><%= l(:label_comment_plural) %></h3>
+<h3 class="icon comment"><%= l(:label_comment_plural) %></h3>
<% @news.comments.each do |comment| %>
<% next if comment.new_record? %>
<h4><%= format_time(comment.created_on) %> - <%= comment.author.name %></h4>
|