app/helpers/application_helper/toolbar/servicetemplatecatalogs_center.rb
class ApplicationHelper::Toolbar::ServicetemplatecatalogsCenter < ApplicationHelper::Toolbar::Basic
button_group('st_catalog_vmdb', [
select(
:st_catalog_vmdb_choice,
nil,
t = N_('Configuration'),
t,
:items => [
button(
:st_catalog_new,
'pficon pficon-add-circle-o fa-lg',
t = N_('Add a New Catalog'),
t,
:klass => ApplicationHelper::Button::ButtonNewDiscover),
button(
:st_catalog_edit,
'pficon pficon-edit fa-lg',
N_('Select a single Item to edit'),
N_('Edit Selected Item'),
:url_parms => "main_div",
:send_checked => true,
:enabled => false,
:onwhen => "1"),
button(
:st_catalog_delete,
'pficon pficon-delete fa-lg',
N_('Remove selected Catalogs'),
N_('Remove Catalogs'),
:url_parms => "main_div",
:send_checked => true,
:confirm => N_("Warning: The selected Catalogs will be permanently removed!"),
:enabled => false,
:onwhen => "1+"),
]
),
])
end