Skip to content

Commit

Permalink
Merge pull request ManageIQ#820 from martinpovolny/instance_cockpit
Browse files Browse the repository at this point in the history
Add cockpit button for cloud instance.
  • Loading branch information
Dan Clarizio authored Mar 28, 2017
2 parents 4c45101 + 1098ea5 commit 2d8a076
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions app/helpers/application_helper/toolbar/x_vm_cloud_center.rb
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,15 @@ class ApplicationHelper::Toolbar::XVmCloudCenter < ApplicationHelper::Toolbar::B
),
])
include ApplicationHelper::Toolbar::Cloud::InstanceOperationsButtonGroupMixin
button_group('vm_access', [
button(
:cockpit_console,
'pficon pficon-screen fa-lg',
N_('Open a new browser window with Cockpit for this VM. This requires that Cockpit is pre-configured on the VM.'),
N_('Web Console'),
# :image => "cockpit",
:url => "launch_cockpit",
:klass => ApplicationHelper::Button::CockpitConsole
)
])
end

0 comments on commit 2d8a076

Please sign in to comment.