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 | |
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
-rw-r--r-- | app/views/news/show.rhtml | 4 | ||||
-rw-r--r-- | public/images/comment.png | bin | 0 -> 985 bytes | |||
-rw-r--r-- | public/images/notes.png | bin | 996 -> 0 bytes | |||
-rw-r--r-- | public/stylesheets/application.css | 1 |
4 files changed, 3 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>
diff --git a/public/images/comment.png b/public/images/comment.png Binary files differnew file mode 100644 index 000000000..a67d5d422 --- /dev/null +++ b/public/images/comment.png diff --git a/public/images/notes.png b/public/images/notes.png Binary files differdeleted file mode 100644 index d26b1d577..000000000 --- a/public/images/notes.png +++ /dev/null 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 ****************/
|