Skip to content

Commit

Permalink
Merge pull request Katello#1833 from komidore64/headpin-menu-fix
Browse files Browse the repository at this point in the history
synchronization page was not correctly fenced in headpin mode
  • Loading branch information
komidore64 committed Apr 3, 2013
2 parents af069d6 + f8f22ca commit 3bb6fe1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/lib/navigation/administration_menu.rb
Expand Up @@ -48,7 +48,7 @@ def menu_administration
menu = {:key => :admin, menu = {:key => :admin,
:name => _("Administer"), :name => _("Administer"),
:url => :sub_level, :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"}, :options => {:class=>'operations header-widget fl menu_parent', "data-menu"=>"operations"},
:if => :sub_level :if => :sub_level
} }
Expand Down Expand Up @@ -88,7 +88,7 @@ def menu_sync_tasks
{:key => :sync_tasks, {:key => :sync_tasks,
:name => _("Synchronization"), :name => _("Synchronization"),
:url => sync_management_manage_path, :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"} :options => {:class=>'operations section_level', "data-menu"=>"operations"}
} }
end end
Expand Down

0 comments on commit 3bb6fe1

Please sign in to comment.