app/helpers/application_helper/toolbar/iso_datastore_center.rb
class ApplicationHelper::Toolbar::IsoDatastoreCenter < ApplicationHelper::Toolbar::Basic
button_group('iso_datastore_vmdb', [
select(
:iso_datastore_vmdb_choice,
nil,
t = N_('Configuration'),
t,
:items => [
button(
:iso_datastore_delete,
'pficon pficon-delete fa-lg',
t = N_('Remove this ISO Datastore from Inventory'),
t,
:url_parms => "&refresh=y",
:confirm => N_("Warning: This ISO Datastore and ALL of its components will be permanently removed!")),
separator,
button(
:iso_datastore_refresh,
'fa fa-refresh fa-lg',
N_('Refresh Relationships for this ISO Datastore'),
N_('Refresh Relationships'),
:confirm => N_("Refresh Relationships for this ISO Datastore?")),
]
),
])
end