Sha256: 5a71564b10e4da3852407aca4788c2965440cd95a5059c730c01bfeac881ae8e
Contents?: true
Size: 590 Bytes
Versions: 1
Compression:
Stored size: 590 Bytes
Contents
module Bootdisk::HostsHelperExt extend ActiveSupport::Concern included do alias_method_chain :host_title_actions, :bootdisk end def host_title_actions_with_bootdisk(host, vm) title_actions( button_group( select_action_button(_('Boot disk'), display_link_if_authorized(_("ISO image"), hash_for_bootdisk_iso_host_path(:id => @host), :class=>'btn'), display_link_if_authorized(_("USB image"), hash_for_bootdisk_iso_host_path(:id => @host), :class=>'btn'), ) ) ) host_title_actions_without_bootdisk(host, vm) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
foreman_bootdisk-1.0.0 | app/helpers/concerns/bootdisk/hosts_helper_ext.rb |