diff options
author | Philip Arndt <parndt@gmail.com> | 2010-08-30 11:14:46 +1200 |
---|---|---|
committer | Philip Arndt <parndt@gmail.com> | 2010-08-30 11:14:46 +1200 |
commit | 4d1e364085c0de27d3ca58cc90eba9036744fc79 (patch) | |
tree | 2e0282206a95fc6fb91ec8aea38843543e886c85 /app/views/admin/blog/comments/_comment.html.erb | |
parent | 21dca99ddf7eadb929bc9fe40a6b3f9fd90b2f41 (diff) | |
download | refinerycms-blog-4d1e364085c0de27d3ca58cc90eba9036744fc79.tar.gz refinerycms-blog-4d1e364085c0de27d3ca58cc90eba9036744fc79.tar.bz2 refinerycms-blog-4d1e364085c0de27d3ca58cc90eba9036744fc79.zip |
Comments are now moderated automatically unless moderation is enabled and show up below posts.
Diffstat (limited to 'app/views/admin/blog/comments/_comment.html.erb')
-rw-r--r-- | app/views/admin/blog/comments/_comment.html.erb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app/views/admin/blog/comments/_comment.html.erb b/app/views/admin/blog/comments/_comment.html.erb new file mode 100644 index 0000000..e03605a --- /dev/null +++ b/app/views/admin/blog/comments/_comment.html.erb @@ -0,0 +1,17 @@ +<li class='clearfix record <%= cycle("on", "on-hover") %>' id="<%= dom_id(comment) -%>"> + <span class='title'> + <%=h comment.name %> + <span class="preview"> - <%= truncate(comment.message, :length => 75) %></span> + </span> + <span class='actions'> + <%= link_to refinery_icon_tag("application_go.png"), blog_post_url(comment.post, + :anchor => "comment-#{comment.to_param}"), + :title => t('.view_live'), + :target => "_blank" %> + <%= link_to refinery_icon_tag("application_edit.png"), edit_admin_blog_comment_path(comment), + :title => t('.edit') %> + <%= link_to refinery_icon_tag("delete.png"), admin_blog_comment_path(comment), + :class => "cancel confirm-delete", + :title => t('.delete') %> + </span> +</li> |