From: Jean-Philippe Lang Date: Tue, 2 Jan 2007 15:27:10 +0000 (+0000) Subject: added an icon on news comments X-Git-Tag: 0.4.0~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2dc3850798448e3698ae9f7c4c23033827d7cd64;p=redmine.git added an icon on news comments git-svn-id: http://redmine.rubyforge.org/svn/trunk@142 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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 %>

diff --git a/public/images/comment.png b/public/images/comment.png new file mode 100644 index 000000000..a67d5d422 Binary files /dev/null and b/public/images/comment.png differ diff --git a/public/images/notes.png b/public/images/notes.png deleted file mode 100644 index d26b1d577..000000000 Binary files a/public/images/notes.png and /dev/null differ diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 3ad2ced3f..2b1c53794 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -151,6 +151,7 @@ background-color: #80b0da; .folder { background-image: url(../images/folder.png); } .file { background-image: url(../images/file.png); } .attachment { background-image: url(../images/attachment.png); } +.comment { background-image: url(../images/comment.png); } /**************** Content styles ****************/