Commit 4651cf61fa533641fb684ca5642a330f68103f0e
1 parent
6654c31d
Exists in
master
and in
29 other branches
ActionItem918: removing blog buttons from CMS
These buttons are already in the control panel.
Showing
1 changed file
with
0 additions
and
5 deletions
Show diff stats
app/views/cms/view.rhtml
... | ... | @@ -13,11 +13,6 @@ |
13 | 13 | |
14 | 14 | <% button_bar(:style => 'margin-bottom: 1em;') do %> |
15 | 15 | <% parent_id = ((@article && @article.allow_children?) ? @article : nil) %> |
16 | - <% if profile.has_blog? %> | |
17 | - <%= button :edit, _('Edit blog'), :action => 'edit', :id => profile.blog.id %> | |
18 | - <% else %> | |
19 | - <%= button :add, _('Create blog'), :action => 'new', :type => 'Blog', :parent_id => parent_id %> | |
20 | - <% end %> | |
21 | 16 | |
22 | 17 | <% if !@article or !@article.blog? %> |
23 | 18 | <%= button :add, _('New folder'), :action => 'new', :type => 'Folder', :parent_id => parent_id %> | ... | ... |