Class: Sidebars::Organizations::SuperSidebarPanel
- Extended by:
- Gitlab::Utils::Override
- Includes:
- Concerns::SuperSidebarPanel
- Defined in:
- lib/sidebars/organizations/super_sidebar_panel.rb
Instance Attribute Summary
Attributes inherited from Panel
#context, #hidden_menu, #scope_menu
Instance Method Summary collapse
Methods included from Gitlab::Utils::Override
extended, extensions, included, method_added, override, prepended, queue_verification, verify!
Methods included from Concerns::SuperSidebarPanel
#pick_from_old_menus, #transform_old_menus
Methods inherited from Panel
Methods inherited from Panel
#add_menu, #aria_label, #container, #initialize, #insert_menu_after, #insert_menu_before, #remove_menu, #render?, #renderable_menus, #replace_menu, #set_hidden_menu, #set_scope_menu, #super_sidebar_menu_items
Methods included from Concerns::PositionableList
#add_element, #insert_element_after, #insert_element_before, #remove_element, #replace_element
Constructor Details
This class inherits a constructor from Sidebars::Panel
Instance Method Details
#configure_menus ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/sidebars/organizations/super_sidebar_panel.rb', line 10 def super = = [] (::StaticMenu.new(context)) # Pick old menus, will be obsolete once everything is in their own # super sidebar menu () (, , *) end |
#super_sidebar_context_header ⇒ Object
25 26 27 |
# File 'lib/sidebars/organizations/super_sidebar_panel.rb', line 25 def _('Organization') end |