app/helpers/application_helper/toolbar/container_groups_center.rb
class ApplicationHelper::Toolbar::ContainerGroupsCenter < ApplicationHelper::Toolbar::Basic
button_group('container_group_policy', [
select(
:container_group_policy_choice,
nil,
t = N_('Policy'),
t,
:enabled => false,
:onwhen => "1+",
:items => [
button(
:container_group_tag,
'pficon pficon-edit fa-lg',
N_('Edit Tags for these Pods'),
N_('Edit Tags'),
:url_parms => "main_div",
:send_checked => true,
:enabled => false,
:onwhen => "1+"),
button(
:container_group_protect,
'pficon pficon-edit fa-lg',
N_('Manage Policies for these Pods'),
N_('Manage Policies'),
:url_parms => "main_div",
:send_checked => true,
:enabled => "false",
:onwhen => "1+"),
button(
:container_group_check_compliance,
'fa fa-search fa-lg',
N_('Check Compliance of the last known configuration for these Pods'),
N_('Check Compliance of Last Known Configuration'),
:url_parms => "main_div",
:send_checked => true,
:confirm => N_("Initiate Check Compliance of the last known configuration for the selected items?"),
:enabled => "false",
:onwhen => "1+")
]
),
])
end