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 ****************/