Sha256: 797a20be3836fe2d364a8f831fd11544136594057b932bad471fdfb2eab0a1cf

Contents?: true

Size: 856 Bytes

Versions: 5

Compression:

Stored size: 856 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"><%= host.try(:hardware_model_name) || 'N/A' %></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 |name|
%>
<td class="hidden-tablet hidden-xs"><%= @host_facts[host.id][name] || 'N/A' %></td>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_discovery-8.0.1 app/views/discovered_hosts/_discovered_host.html.erb
foreman_discovery-8.0.0 app/views/discovered_hosts/_discovered_host.html.erb
foreman_discovery-7.0.1 app/views/discovered_hosts/_discovered_host.html.erb
foreman_discovery-7.0.0 app/views/discovered_hosts/_discovered_host.html.erb
foreman_discovery-6.0.0 app/views/discovered_hosts/_discovered_host.html.erb