Commit 69e0f1f24898714bcc1f6b6d77eda6da5dde9b03

Authored by Antonio Terceiro
1 parent a7111e03

ActionItem867: keeping the CMS for communities

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/profile_editor/index.rhtml
... ... @@ -20,7 +20,7 @@
20 20  
21 21 <%= file_manager_button(_('Edit Header and Footer'), 'icons-app/header-and-footer.png', :controller => 'profile_editor', :action => 'header_footer') unless profile.enterprise? && environment.enabled?('disable_header_and_footer') && !user.is_admin? %>
22 22  
23   - <%= file_manager_button(_('Manage Content'), 'icons-app/cms.png', :controller => 'cms') unless environment.enabled?('disable_cms')%>
  23 + <%= file_manager_button(_('Manage Content'), 'icons-app/cms.png', :controller => 'cms') unless environment.enabled?('disable_cms') || profile.community? %>
24 24  
25 25 <%= file_manager_button(_('Change Password'), 'icons-app/change-password.png', :controller => 'account', :action => 'change_password') if profile.person? %>
26 26  
... ...