diff options
Diffstat (limited to 'lib/sidebars/projects/super_sidebar_menus/operations_menu.rb')
-rw-r--r-- | lib/sidebars/projects/super_sidebar_menus/operations_menu.rb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/lib/sidebars/projects/super_sidebar_menus/operations_menu.rb b/lib/sidebars/projects/super_sidebar_menus/operations_menu.rb new file mode 100644 index 00000000000..64cf4aee9c5 --- /dev/null +++ b/lib/sidebars/projects/super_sidebar_menus/operations_menu.rb @@ -0,0 +1,32 @@ +# frozen_string_literal: true + +module Sidebars + module Projects + module SuperSidebarMenus + class OperationsMenu < ::Sidebars::Menu + override :title + def title + s_('Navigation|Operate') + end + + override :sprite_icon + def sprite_icon + 'deployments' + end + + override :configure_menu_items + def configure_menu_items + [ + :packages_registry, + :container_registry, + :kubernetes, + :terraform_states, + :infrastructure_registry, + :google_cloud, + :aws + ].each { |id| add_item(::Sidebars::NilMenuItem.new(item_id: id)) } + end + end + end + end +end |