Sha256: 2c4e6f48138e3c9d1aea8f15187479a2e2cb149edb37426f0d28d8dfed2d0e3e

Contents?: true

Size: 924 Bytes

Versions: 35

Compression:

Stored size: 924 Bytes

Contents

<div class="row">
  <div class="col-md-8">

    <table class="table table-bordered table-striped">
      <thead>
        <tr>
          <th><%= _('Name') %></th>
          <th><%= _('Model') %></th>
          <% if SETTINGS[:locations_enabled] %>
            <th><%= _('Location') %></th>
          <% end %>
          <% if SETTINGS[:organizations_enabled] %>
            <th><%= _('Organization') %></th>
          <% end %>
        </tr>
      </thead>
      <tbody>
        <% hosts.each do |host| -%>
          <tr>
            <td><%=h host %> </td>
            <td><%=h host.model %> </td>
            <% if SETTINGS[:locations_enabled]%>
            <td><%=h host.try(:location) %></td>
            <% end %>
            <% if SETTINGS[:organizations_enabled]%>
            <td><%=h host.try(:organization) %></td>
            <% end %>
          </tr>
        <% end -%>
      </tbody>
    </table>
  </div>
</div>

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
foreman_discovery-9.1.5 app/views/discovered_hosts/_selected_hosts.html.erb
foreman_discovery-9.1.4 app/views/discovered_hosts/_selected_hosts.html.erb
foreman_discovery-9.1.3 app/views/discovered_hosts/_selected_hosts.html.erb
foreman_discovery-9.1.2 app/views/discovered_hosts/_selected_hosts.html.erb
foreman_discovery-9.1.1 app/views/discovered_hosts/_selected_hosts.html.erb
foreman_discovery-9.1.0 app/views/discovered_hosts/_selected_hosts.html.erb
foreman_discovery-9.0.0 app/views/discovered_hosts/_selected_hosts.html.erb
foreman_discovery-8.0.1 app/views/discovered_hosts/_selected_hosts.html.erb
foreman_discovery-8.0.0 app/views/discovered_hosts/_selected_hosts.html.erb
foreman_discovery-7.0.1 app/views/discovered_hosts/_selected_hosts.html.erb
foreman_discovery-7.0.0 app/views/discovered_hosts/_selected_hosts.html.erb
foreman_discovery-6.0.0 app/views/discovered_hosts/_selected_hosts.html.erb
foreman_discovery-5.0.2 app/views/discovered_hosts/_selected_hosts.html.erb
foreman_discovery-5.0.1 app/views/discovered_hosts/_selected_hosts.html.erb
foreman_discovery-5.0.0 app/views/discovered_hosts/_selected_hosts.html.erb
foreman_discovery-4.1.2 app/views/discovered_hosts/_selected_hosts.html.erb
foreman_discovery-4.1.1 app/views/discovered_hosts/_selected_hosts.html.erb
foreman_discovery-4.1.0 app/views/discovered_hosts/_selected_hosts.html.erb
foreman_discovery-4.0.0 app/views/discovered_hosts/_selected_hosts.html.erb
foreman_discovery-2.0.2 app/views/discovered_hosts/_selected_hosts.html.erb