added an icon on news comments
git-svn-id: http://redmine.rubyforge.org/svn/trunk@142 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
18001e5a5b
commit
2dc3850798
|
@ -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>
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 985 B |
Binary file not shown.
Before Width: | Height: | Size: 996 B |
|
@ -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 ****************/
|
||||
|
||||
|
|
Loading…
Reference in New Issue