Sha256: 89e257536728bc91cc9380f8a80ae73b98921006d5cf9dd48778e7f9b3c66631

Contents?: true

Size: 797 Bytes

Versions: 2

Compression:

Stored size: 797 Bytes

Contents

<% td_style = "text-align: left; border-collapse: collapse; background-color: #FFFFFF; padding: 4px; border: 1px solid #cccccc;" %>
<td style="<%= td_style%>">
  <%= link_to host, discovered_host_path(:id => host, :host => @url.host, :port => @url.port, :only_path => false, :protocol => @url.scheme) %>
</td>
<td style="<%= td_style%>"><%= host.model_name %></td>
<td style="<%= td_style%>"><%= host.ip %></td>
<td style="<%= td_style%>"><%= discovery_attribute(host, :cpu_count) %></td>
<td style="<%= td_style%>"><%= number_to_human_size(discovery_attribute(host, :memory, 0) * 1024 * 1024) %></td>
<td style="<%= td_style%>"><%= discovery_attribute(host, :disk_count) %></td>
<td style="<%= td_style%>"><%= number_to_human_size(discovery_attribute(host, :disks_size, 0) * 1024 * 1024) %></td>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foreman_discovery-5.0.2 app/views/discovered_mailer/_discovered_host.html.erb
foreman_discovery-5.0.1 app/views/discovered_mailer/_discovered_host.html.erb