blob: 81e6c7af00595684e0410aee1482144bea658eb5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# frozen_string_literal: true
module Sidebars
module Organizations
class Panel < ::Sidebars::Panel
include ::Sidebars::Concerns::SuperSidebarPanel
override :aria_label
def aria_label
s_('Organization|Organization navigation')
end
override :configure_menus
def configure_menus
set_scope_menu(Sidebars::Organizations::Menus::ScopeMenu.new(context))
add_menu(Sidebars::StaticMenu.new(context))
add_menu(Sidebars::Organizations::Menus::ManageMenu.new(context))
add_menu(Sidebars::Organizations::Menus::SettingsMenu.new(context))
end
end
end
end
|