%= javascript "host_checkbox" %> <% title _('Discovered Hosts') %>
<%= check_box_tag "check_all", "", false, { :onclick => "toggleCheck()", :'check-title' => _("Select all items in this page"), :'uncheck-title'=> _("items selected. Uncheck to Clear") } %> | <%= sort :name, :as => _('Name') %> | <% Setting::Discovered.discovery_fact_column_array.each do |fact_column| %> <% end %> <% if SETTINGS[:locations_enabled] -%> <% end -%> <% if SETTINGS[:organizations_enabled] -%> <% end -%>|
---|---|---|
<%= check_box_tag "host_ids[]", nil, false, :id => "host_ids_#{host.id}", :disabled => !authorized_for_edit_destroy?, :class => 'host_select_boxes', :onclick => 'hostChecked(this)' -%> | <%= render :partial => "discovered_host", :locals => {:host => host} %> <% if SETTINGS[:locations_enabled] -%> <% end -%> <% if SETTINGS[:organizations_enabled] -%> <% end -%><%= render :partial => "discovered_host_modal", :locals => {:host => host} %> <%= action_buttons( provision_button(host, hash_for_edit_discovered_host_path(:id => host)), display_link_if_authorized(_("Auto Provision"), hash_for_auto_provision_discovered_host_path(:id => host), :method => :post), display_link_if_authorized(_("Refresh facts"), hash_for_refresh_facts_discovered_host_path(:id => host)), display_link_if_authorized(_("Reboot"), hash_for_reboot_discovered_host_path(:id => host), :method => :put), display_delete_if_authorized(hash_for_discovered_host_path(:id => host), :confirm => _("Delete %s?") % host.name, :action => :destroy))%> |