Skip to content
Browse files

remove comment column from pages view

  • Loading branch information...
1 parent 695bc4c commit f6b2f5e55454b9f6500c4fdd75f5962274160d66 @johnmuhl johnmuhl committed Nov 10, 2011
View
1 app/views/admin/pages/_index_head_view_comments.html.haml
@@ -1 +0,0 @@
-%th.comments= t('comments')
View
7 app/views/admin/pages/_index_view_comments.html.haml
@@ -1,7 +0,0 @@
-%td.comment_link
- - if page.respond_to?('enable_comments')
- %small
- - if page.enable_comments
- = link_to "#{page.comments_count} comments", admin_page_comments_path(:page_id => page.id)
- - else
- = link_to "Enable", admin_page_enable_comments_path(:page_id => page.id), :method => :put
View
2 comments_extension.rb
@@ -18,8 +18,6 @@ def activate
if admin.respond_to? :page
admin.page.edit.add :extended_metadata, "edit_comments_enabled"
- admin.page.index.add :sitemap_head, "index_head_view_comments"
- admin.page.index.add :node, "index_view_comments"
end
tab "Content" do

0 comments on commit f6b2f5e

Please sign in to comment.
Something went wrong with that request. Please try again.