From 2dc3850798448e3698ae9f7c4c23033827d7cd64 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 2 Jan 2007 15:27:10 +0000 Subject: [PATCH] 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 ++-- public/images/comment.png | Bin 0 -> 985 bytes public/images/notes.png | Bin 996 -> 0 bytes public/stylesheets/application.css | 1 + 4 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 public/images/comment.png delete mode 100644 public/images/notes.png 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 0000000000000000000000000000000000000000..a67d5d4221b8e9e9f9c299448990f6833cb61a6e GIT binary patch literal 985 zcmeAS@N?(olHy`uVBq!ia0vp^d?3uh3?wzC-F*zC*h@TpUD>ZQGVx0o{FdlA0uJasB`Qe_vnU`}gnn?c4X@ z!GnAE?p?il^}>Yh7ZmU?7#{d7?Mrw-eZF}FIcr5x;JwtKE zUhcg{jkBIb&&WGh_~@e1yDN%)!E-EivxDl|E|=|{o+tJGnaV4rbnWCl=>CEd~2k%3`jKlh(RRt5%Uh5(-s*Z=?jr=_KxIdf*_%$a-k z?Af(z*T#(-*Q{Cd?%lg*&z?Pb^5p5$r+4n$*}Z%BmMvR0Y}f!)zjNo#moHyFeE9J0 z-MjDKzXzH;3PwX9$@(X5gcy=QV$cgfFaSW-rmD+bxtU-aph4og( z%pU;{ryDSu6p;VYO^F#Q|4~hYQ9c)~DZ1nfE weccv4K~Cajd*E!&xn{l%Hh;Ra@>)MJT)oPoKlhN}5>RM)y85}Sb4q9e0L*}V)c^nh 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 ****************/