Skip to content

Commit

Permalink
Merge pull request #921 from h-kataria/automation_menu_reordering
Browse files Browse the repository at this point in the history
Moved menus under Automation maintab around
(cherry picked from commit f7c01da)

https://bugzilla.redhat.com/show_bug.cgi?id=1439310
  • Loading branch information
Dan Clarizio authored and simaishi committed Apr 5, 2017
1 parent 7d38e6b commit 73ec37f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/presenters/menu/default_menu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,9 @@ def control_menu_section

def automation_menu_section
Menu::Section.new(:aut, N_("Automation"), 'fa fa-recycle', [
automate_menu_section,
ansible_menu_section,
automation_manager_menu_section
automation_manager_menu_section,
automate_menu_section
])
end

Expand All @@ -235,9 +235,9 @@ def automation_manager_menu_section

def ansible_menu_section
Menu::Section.new(:ansible, N_("Ansible"), 'fa fa-recycle', [
Menu::Item.new('ansible_credentials', N_('Credentials'), 'embedded_automation_manager_credentials', {:feature => 'embedded_automation_manager_credentials', :any => true}, '/ansible_credential'),
Menu::Item.new('ansible_playbooks', N_('Playbooks'), 'embedded_configuration_script_payload', {:feature => 'embedded_configuration_script_payload'}, '/ansible_playbook', :any => true),
Menu::Item.new('ansible_repositories', N_('Repositories'), 'embedded_configuration_script_source', {:feature => 'embedded_configuration_script_source'}, '/ansible_repository', :any => true),
Menu::Item.new('ansible_credentials', N_('Credentials'), 'embedded_automation_manager_credentials', {:feature => 'embedded_automation_manager_credentials', :any => true}, '/ansible_credential'),
])
end

Expand Down

0 comments on commit 73ec37f

Please sign in to comment.