From 4651cf61fa533641fb684ca5642a330f68103f0e Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Tue, 3 Feb 2009 12:28:52 -0300 Subject: [PATCH] ActionItem918: removing blog buttons from CMS --- app/views/cms/view.rhtml | 5 ----- 1 file changed, 0 insertions(+), 5 deletions(-) diff --git a/app/views/cms/view.rhtml b/app/views/cms/view.rhtml index da78c83..6659451 100644 --- a/app/views/cms/view.rhtml +++ b/app/views/cms/view.rhtml @@ -13,11 +13,6 @@ <% button_bar(:style => 'margin-bottom: 1em;') do %> <% parent_id = ((@article && @article.allow_children?) ? @article : nil) %> - <% if profile.has_blog? %> - <%= button :edit, _('Edit blog'), :action => 'edit', :id => profile.blog.id %> - <% else %> - <%= button :add, _('Create blog'), :action => 'new', :type => 'Blog', :parent_id => parent_id %> - <% end %> <% if !@article or !@article.blog? %> <%= button :add, _('New folder'), :action => 'new', :type => 'Folder', :parent_id => parent_id %> -- libgit2 0.21.2