summaryrefslogtreecommitdiffstats
path: root/app/views/news
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/news')
-rw-r--r--app/views/news/show.html.erb6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/news/show.html.erb b/app/views/news/show.html.erb
index c188d2e2c..008a07567 100644
--- a/app/views/news/show.html.erb
+++ b/app/views/news/show.html.erb
@@ -36,8 +36,10 @@
<% @comments.each do |comment| %>
<% next if comment.new_record? %>
<div class="contextual">
- <%= link_to_if_authorized image_tag('delete.png'), {:controller => 'comments', :action => 'destroy', :id => @news, :comment_id => comment},
- :data => {:confirm => l(:text_are_you_sure)}, :method => :delete, :title => l(:button_delete) %>
+ <%= link_to_if_authorized '', {:controller => 'comments', :action => 'destroy', :id => @news, :comment_id => comment},
+ :data => {:confirm => l(:text_are_you_sure)}, :method => :delete,
+ :title => l(:button_delete),
+ :class => 'icon-only icon-del' %>
</div>
<h4><%= avatar(comment.author, :size => "24") %><%= authoring comment.created_on, comment.author %></h4>
<%= textilizable(comment.comments) %>