Commit f10141df1ac425a749bfe7d59a36d68e517a1c8a
1 parent
da6448ae
Exists in
master
and in
29 other branches
ActionItem980: fixing condition
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/profile_editor/index.rhtml
@@ -23,7 +23,7 @@ | @@ -23,7 +23,7 @@ | ||
23 | 23 | ||
24 | <%= 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?(environment) %> | 24 | <%= 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?(environment) %> |
25 | 25 | ||
26 | - <%= file_manager_button(_('Manage Content'), 'icons-app/cms.png', :controller => 'cms') unless environment.enabled?('disable_cms') || profile.community? %> | 26 | + <%= file_manager_button(_('Manage Content'), 'icons-app/cms.png', :controller => 'cms') if !environment.enabled?('disable_cms') || profile.community? %> |
27 | 27 | ||
28 | <% unless profile.enterprise? %> | 28 | <% unless profile.enterprise? %> |
29 | <% if profile.has_blog? %> | 29 | <% if profile.has_blog? %> |