diff options
Diffstat (limited to 'lib/sidebars/groups/super_sidebar_menus/manage_menu.rb')
-rw-r--r-- | lib/sidebars/groups/super_sidebar_menus/manage_menu.rb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/lib/sidebars/groups/super_sidebar_menus/manage_menu.rb b/lib/sidebars/groups/super_sidebar_menus/manage_menu.rb new file mode 100644 index 00000000000..71214c42bf5 --- /dev/null +++ b/lib/sidebars/groups/super_sidebar_menus/manage_menu.rb @@ -0,0 +1,30 @@ +# frozen_string_literal: true + +module Sidebars + module Groups + module SuperSidebarMenus + class ManageMenu < ::Sidebars::Menu + override :title + def title + s_('Navigation|Manage') + end + + override :sprite_icon + def sprite_icon + 'users' + end + + override :configure_menu_items + def configure_menu_items + [ + :activity, + :members, + :labels, + :milestones, + :iterations + ].each { |id| add_item(::Sidebars::NilMenuItem.new(item_id: id)) } + end + end + end + end +end |