blob: 988f3d498b9d5ae8fd791305d1cebc674c63b2b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# frozen_string_literal: true
module Sidebars
module Groups
module SuperSidebarMenus
class BuildMenu < ::Sidebars::Menu
override :title
def title
s_('Navigation|Build')
end
override :sprite_icon
def sprite_icon
'rocket'
end
override :configure_menu_items
def configure_menu_items
[
:runners
].each { |id| add_item(::Sidebars::NilMenuItem.new(item_id: id)) }
end
end
end
end
end
|