aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/refinery/admin/blog/comments/_comment.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/refinery/admin/blog/comments/_comment.html.erb')
-rw-r--r--app/views/refinery/admin/blog/comments/_comment.html.erb20
1 files changed, 0 insertions, 20 deletions
diff --git a/app/views/refinery/admin/blog/comments/_comment.html.erb b/app/views/refinery/admin/blog/comments/_comment.html.erb
deleted file mode 100644
index f5eba4d..0000000
--- a/app/views/refinery/admin/blog/comments/_comment.html.erb
+++ /dev/null
@@ -1,20 +0,0 @@
-<li class='clearfix record <%= cycle("on", "on-hover") %>' id="<%= "comment-#{comment.to_param}" -%>">
- <span class='title'>
- <%= comment.name %>
- <span class="preview"> - <%= truncate(comment.message, :length => 75) %></span>
- </span>
- <span class='actions'>
- <%= link_to refinery_icon_tag("application_go.png"),
- main_app.blog_post_path(comment.post, :anchor => "comment-#{comment.to_param}"),
- :title => t('.view_live_html'),
- :target => "_blank" unless comment.unmoderated? %>
- <%= link_to refinery_icon_tag('zoom.png'), main_app.refinery_admin_blog_comment_path(comment),
- :title => t('.read') %>
- <%= link_to refinery_icon_tag("cross.png"),
- main_app.rejected_refinery_admin_blog_comment_path(comment, :return_to => request.path.split('/').last.gsub(/^comments$/, 'index')),
- :title => t('.reject') unless comment.rejected? %>
- <%= link_to refinery_icon_tag("tick.png"),
- main_app.approved_refinery_admin_blog_comment_path(comment, :return_to => request.path.split('/').last.gsub(/^comments$/, 'index')),
- :title => t('.approve') unless comment.approved? %>
- </span>
-</li>