Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #1833 from komidore64/headpin-menu-fix

synchronization page was not correctly fenced in headpin mode
  • Loading branch information...
commit 3bb6fe175572ac7a85d0360392e66d1d01496d27 2 parents af069d6 + f8f22ca
@komidore64 komidore64 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/app/lib/navigation/administration_menu.rb
View
4 src/app/lib/navigation/administration_menu.rb
@@ -48,7 +48,7 @@ def menu_administration
menu = {:key => :admin,
:name => _("Administer"),
:url => :sub_level,
- :items=> [ menu_orgs, (menu_sync_tasks if Katello.config.katello?), menu_users, menu_roles ],
+ :items=> [ menu_orgs, menu_sync_tasks, menu_users, menu_roles ],
:options => {:class=>'operations header-widget fl menu_parent', "data-menu"=>"operations"},
:if => :sub_level
}
@@ -88,7 +88,7 @@ def menu_sync_tasks
{:key => :sync_tasks,
:name => _("Synchronization"),
:url => sync_management_manage_path,
- :if => lambda {User.current.has_superadmin_role?},
+ :if => lambda {User.current.has_superadmin_role? && Katello.config.katello?},
:options => {:class=>'operations section_level', "data-menu"=>"operations"}
}
end
Please sign in to comment.
Something went wrong with that request. Please try again.