Project

General

Profile

Download (4.42 KB) Statistics
| Branch: | Tag: | Revision:
Foreman::Plugin.register :katello do
requires_foreman '> 1.3'

sub_menu :top_menu, :content, :caption => N_('Content'), :after => :monitor_menu do
menu :top_menu,
:environments,
:caption => N_('Lifecycle Environments'),
:url_hash => {:controller => 'katello/environments',
:action => 'all'},
:engine => Katello::Engine
menu :top_menu,
:red_hat_subscriptions,
:caption => N_('Red Hat Subscriptions'),
:url_hash => {:controller => 'katello/subscriptions',
:action => 'all'},
:engine => Katello::Engine
menu :top_menu,
:subscription_manager_applications,
:caption => N_('Subscription Manager Applications'),
:url_hash => {:controller => 'katello/distributors',
:action => 'index'},
:engine => Katello::Engine
menu :top_menu,
:activation_keys,
:caption => N_('Activation Keys'),
:url_hash => {:controller => 'katello/activation_keys',
:action => 'all'},
:engine => Katello::Engine

divider :top_menu, :parent => :content
menu :top_menu,
:redhat_provider,
:caption => N_('Red Hat Repositories'),
:url_hash => {:controller => 'katello/providers',
:action => 'redhat_provider'},
:engine => Katello::Engine

menu :top_menu,
:products,
:caption => N_('Products'),
:url_hash => {:controller => 'katello/products',
:action => 'all'},
:engine => Katello::Engine

menu :top_menu,
:gpg_keys,
:caption => N_('GPG keys'),
:url_hash => {:controller => 'katello/gpg_keys',
:action => 'all'},
:engine => Katello::Engine

divider :top_menu, :parent => :content
menu :top_menu,
:sync_status,
:caption => N_('Sync Status'),
:url_hash => {:controller => 'katello/sync_management',
:action => 'index'},
:engine => Katello::Engine

menu :top_menu,
:sync_plans,
:caption => N_('Sync Plans'),
:url_hash => {:controller => 'katello/sync_plans',
:action => 'all'},
:engine => Katello::Engine

divider :top_menu, :parent => :content
menu :top_menu,
:content_views,
:caption => N_('Content Views'),
:url_hash => {:controller => 'katello/content_views',
:action => 'all'},
:engine => Katello::Engine

menu :top_menu,
:content_search,
:caption => N_('Content Search'),
:url_hash => {:controller => 'katello/content_search',
:action => 'index'},
:engine => Katello::Engine
end

menu :top_menu,
:systems,
:caption => N_('Registered Systems'),
:url_hash => {:controller => 'katello/systems',
:action => 'all'},
:engine => Katello::Engine,
:parent => :hosts_menu,
:after => :hosts

menu :top_menu,
:system_groups,
:caption => N_('System Groups'),
:url_hash => {:controller => 'katello/system_groups',
:action => 'all'},
:engine => Katello::Engine,
:parent => :hosts_menu,
:after => :systems

menu :top_menu,
:content_dashboard,
:caption => N_('Content Dashboard'),
:url_hash => {:controller => 'katello/dashboard',
:action => 'index'},
:engine => Katello::Engine,
:parent => :monitor_menu,
:after => :dashboard

menu :admin_menu,
:notices,
:caption => N_('Content Notices'),
:url_hash => {:controller => 'katello/notices',
:action => 'show'},
:engine => Katello::Engine,
:parent => :administer_menu,
:after => :organizations

menu :admin_menu,
:content_roles,
:caption => N_('Content Roles'),
:url_hash => {:controller => 'katello/roles',
:action => 'index'},
:engine => Katello::Engine,
:parent => :administer_menu,
:after => :roles

menu :admin_menu,
:content_about,
:caption => N_('Content About'),
:url_hash => {:controller => 'katello/application_info',
:action => 'about'},
:engine => Katello::Engine,
:parent => :administer_menu,
:after => :about
end
(6-6/8)