Sha256: 5efba2c92e7ec938db806a61f555b3e964bf2bdbb18bcd890730775ac581be07

Contents?: true

Size: 845 Bytes

Versions: 5

Compression:

Stored size: 845 Bytes

Contents

<td><%= discovery_status_icon(host) %>&#8239;<%= link_to trunc_with_tooltip(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>
<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>
<% Setting::Discovered.discovery_fact_column_array.each do |fact_column| %>
<td class="hidden-tablet hidden-xs"><%= host.facts_hash[fact_column.strip] || 'N/A' %></td>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_discovery-5.0.0 app/views/discovered_hosts/_discovered_host.html.erb
foreman_discovery-4.1.2 app/views/discovered_hosts/_discovered_host.html.erb
foreman_discovery-4.1.1 app/views/discovered_hosts/_discovered_host.html.erb
foreman_discovery-4.1.0 app/views/discovered_hosts/_discovered_host.html.erb
foreman_discovery-4.0.0 app/views/discovered_hosts/_discovered_host.html.erb