Sha256: e3f4caa3c2c65a8e6969f9971b943d766acbbe5a699a6548c16b707324d0107e

Contents?: true

Size: 870 Bytes

Versions: 8

Compression:

Stored size: 870 Bytes

Contents

<td class="ellipsis"><%= link_to (discovery_status_icon(host) + '&nbsp;'.html_safe + 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['discovery_fact_column'].each do |name|
%>
<td class="hidden-tablet hidden-xs"><%= @host_facts[host.id][name] || 'N/A' %></td>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
foreman_discovery-25.0.0 app/views/discovered_hosts/_discovered_host.html.erb
foreman_discovery-24.0.2 app/views/discovered_hosts/_discovered_host.html.erb
foreman_discovery-23.0.2 app/views/discovered_hosts/_discovered_host.html.erb
foreman_discovery-24.0.1 app/views/discovered_hosts/_discovered_host.html.erb
foreman_discovery-24.0.0 app/views/discovered_hosts/_discovered_host.html.erb
foreman_discovery-23.0.1 app/views/discovered_hosts/_discovered_host.html.erb
foreman_discovery-23.0.0 app/views/discovered_hosts/_discovered_host.html.erb
foreman_discovery-22.0.4 app/views/discovered_hosts/_discovered_host.html.erb