Sha256: b88edcc6f266c60ea749452d5f320d7c0ba87add9a6e6de8170f16b051787722

Contents?: true

Size: 933 Bytes

Versions: 17

Compression:

Stored size: 933 Bytes

Contents

<% title _("Provisioning setup") %>

<% title_actions display_link_if_authorized(_("Set up provisioning"), hash_for_new_foreman_setup_provisioner_path), help_path %>

<table class="table table-bordered table-striped">
  <tr>
    <th><%= sort :name, :as => _("Provisioning host") %></th>
    <th><%=  _("Smart proxy") %></th>
    <th><%=  _("Subnet") %></th>
    <th></th>
  </tr>
  <% for prov in @provisioners %>
    <tr>
      <td><%= link_to_if_authorized h(prov.host.to_s), hash_for_edit_foreman_setup_provisioner_path(prov)%></td>
      <td><%= prov.smart_proxy.try(:name) %></td>
      <td><%= "#{prov.subnet.name} (#{prov.subnet.to_label})" if prov.subnet.present? %></td>
      <td><%= display_delete_if_authorized hash_for_foreman_setup_provisioner_path(prov), :confirm => _("Delete %s?") % prov.host.to_s %></td>
    </tr>
  <% end %>
</table>

<%= page_entries_info @provisioners %>
<%= will_paginate     @provisioners %>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
foreman_setup-3.1.1 app/views/foreman_setup/provisioners/index.html.erb
foreman_setup-3.1.0 app/views/foreman_setup/provisioners/index.html.erb
foreman_setup-3.0.2 app/views/foreman_setup/provisioners/index.html.erb
foreman_setup-3.0.1 app/views/foreman_setup/provisioners/index.html.erb
foreman_setup-3.0.0 app/views/foreman_setup/provisioners/index.html.erb
foreman_setup-2.1.1 app/views/foreman_setup/provisioners/index.html.erb
foreman_setup-2.1.0 app/views/foreman_setup/provisioners/index.html.erb
foreman_setup-2.0.4 app/views/foreman_setup/provisioners/index.html.erb
foreman_setup-2.0.3 app/views/foreman_setup/provisioners/index.html.erb
foreman_setup-2.0.2 app/views/foreman_setup/provisioners/index.html.erb
foreman_setup-2.0.1 app/views/foreman_setup/provisioners/index.html.erb
foreman_setup-2.0.0 app/views/foreman_setup/provisioners/index.html.erb
foreman_setup-1.0.4 app/views/foreman_setup/provisioners/index.html.erb
foreman_setup-1.0.3 app/views/foreman_setup/provisioners/index.html.erb
foreman_setup-1.0.2 app/views/foreman_setup/provisioners/index.html.erb
foreman_setup-1.0.1 app/views/foreman_setup/provisioners/index.html.erb
foreman_setup-1.0.0 app/views/foreman_setup/provisioners/index.html.erb