Sha256: c9a6ecdd3b15f53cd2f31194521e957a2058480bf013764a4af68be4bdee9421

Contents?: true

Size: 818 Bytes

Versions: 4

Compression:

Stored size: 818 Bytes

Contents

<td><%= link_to h(host.name), discovered_host_path(host) %></td>
<td class="hidden-tablet hidden-xs"><%= model_name host %></td>
<td class="hidden-tablet hidden-xs"><%= host.ip %></td>
<td class="hidden-tablet hidden-xs"><%= discovery_attribute(host, :cpu_count) %></td>
<td class="hidden-tablet hidden-xs"><%= number_to_human_size(discovery_attribute(host, :memory, 0) * 1024 * 1024) %></td>
<% unless defined? hide_disk %>
<td class="hidden-tablet hidden-xs"><%= discovery_attribute(host, :disk_count) %></td>
<td class="hidden-tablet hidden-xs"><%= number_to_human_size(discovery_attribute(host, :disks_size, 0) * 1024 * 1024) %></td>
<% if Setting['discovery_fact_column'].present? %>
  <td class="hidden-tablet hidden-xs"><%= host.facts_hash[Setting['discovery_fact_column']] || 'N/A' %></td>
<% end %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
foreman_discovery-2.0.2 app/views/discovered_hosts/_discovered_host.html.erb
foreman_discovery-2.0.1 app/views/discovered_hosts/_discovered_host.html.erb
foreman_discovery-2.0.0 app/views/discovered_hosts/_discovered_host.html.erb
foreman_discovery-2.0.0.rc2 app/views/discovered_hosts/_discovered_host.html.erb