-
-
Save domcleal/6388663 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/app/views/compute_resources_vms/show.html.erb b/app/views/compute_resources_vms/show.html.erb | |
| index cbabb9a..5463561 100644 | |
| --- a/app/views/compute_resources_vms/show.html.erb | |
| +++ b/app/views/compute_resources_vms/show.html.erb | |
| @@ -2,8 +2,10 @@ | |
| <%= render "compute_resources_vms/show/#{@compute_resource.provider.downcase}" %> | |
| </div> | |
| -<% title_actions *available_actions(@vm), | |
| +<% | |
| + all_actions = available_actions(@vm).push( | |
| show_console_action(@vm.ready?, | |
| link_to_if_authorized(_("Console"), hash_for_console_compute_resource_vm_path, {:disabled => @vm.nil? || [email protected]?, :class => "btn btn-info"})), | |
| - link_to(_("Back"), compute_resource_path(@compute_resource), :class=>'btn') | |
| + link_to(_("Back"), compute_resource_path(@compute_resource), :class=>'btn')) | |
| + title_actions *all_actions | |
| %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment