Skip to content

Commit

Permalink
Merge pull request #2417 from mansam/restore-cloud-networks-delete-an…
Browse files Browse the repository at this point in the history
…d-edit

Restore Delete and Edit options to Cloud Networks toolbar
(cherry picked from commit 87c83da)

https://bugzilla.redhat.com/show_bug.cgi?id=1511125
  • Loading branch information
mzazrivec authored and simaishi committed Nov 20, 2017
1 parent da77daf commit 4730da3
Showing 1 changed file with 17 additions and 19 deletions.
36 changes: 17 additions & 19 deletions app/helpers/application_helper/toolbar/cloud_networks_center.rb
Expand Up @@ -16,25 +16,23 @@ class ApplicationHelper::Toolbar::CloudNetworksCenter < ApplicationHelper::Toolb
:klass => ApplicationHelper::Button::CloudNetworkNew
),
separator,
# TODO: Restore when cross controllers show_list issue fully in place
# https://github.com/ManageIQ/manageiq/pull/12551
#button(
# :cloud_network_edit,
# 'pficon pficon-edit fa-lg',
# t = N_('Edit selected Cloud Network'),
# t,
# :url_parms => 'main_div',
# :enabled => false,
# :onwhen => '1'),
#button(
# :cloud_network_delete,
# 'pficon pficon-delete fa-lg',
# t = N_('Delete selected Cloud Networks'),
# t,
# :url_parms => 'main_div',
# :confirm => N_('Warning: The selected Cloud Networks and ALL of their components will be removed!'),
# :enabled => false,
# :onwhen => '1+')
button(
:cloud_network_edit,
'pficon pficon-edit fa-lg',
t = N_('Edit selected Cloud Network'),
t,
:url_parms => 'main_div',
:enabled => false,
:onwhen => '1'),
button(
:cloud_network_delete,
'pficon pficon-delete fa-lg',
t = N_('Delete selected Cloud Networks'),
t,
:url_parms => 'main_div',
:confirm => N_('Warning: The selected Cloud Networks and ALL of their components will be removed!'),
:enabled => false,
:onwhen => '1+')
]
)
]
Expand Down

0 comments on commit 4730da3

Please sign in to comment.