Project

General

Profile

« Previous | Next » 

Revision b6a429ae

Added by Stephen Benjamin over 10 years ago

fixes #3307 - add troubleshooting to console page

View differences:

app/views/hosts/console/spice.html.erb
<% title "#{@console[:name]}" %>
<%= title_actions(
button_group(link_to(_("Ctrl-Alt-Del"), "#", :id => "sendCtrlAltDelButton", :onclick => 'sendCtrlAltDel()', :class => "btn btn-default"),
link_to(_("Troubleshooting"), "http://theforeman.org/manuals/#{SETTINGS[:version].short}/index.html#7.1NoVNC",
:id => "troubleshootingButton", :class => "btn btn-default", :target => "_blank"),
if supports_spice_xpi?
link_to(_("New window"), "#", :id => "disconnect", :class => "btn btn-default", :onclick => 'connectXPI()', :title => _("Open Spice in a new window"))
end,
app/views/hosts/console/vnc.html.erb
<% title "#{@console[:name]}" %>
<%= title_actions(
button_group(link_to("Ctrl-Alt-Del", "#", :id => "sendCtrlAltDelButton", :class => "btn btn-default"),
link_to(_("Troubleshooting"), "http://theforeman.org/manuals/#{SETTINGS[:version].short}/index.html#7.1NoVNC",
:id => "troubleshootingButton", :class => "btn btn-default", :target => "_blank"),
if @host
link_to_if_authorized(_("Back to host"), hash_for_host_path(:id => @host), :title => _("Back to host"), :class => 'btn btn-default')
end

Also available in: Unified diff