Sha256: 8957ad758bc06330c2eae41e04ff3c41370caaa3f8b8e7b9baacdd5d3659d82d

Contents?: true

Size: 834 Bytes

Versions: 5

Compression:

Stored size: 834 Bytes

Contents

<tr>
  <th style="border: 1px solid #FF9933;
    border-collapse: collapse;
    text-align:center;
    padding: 4px;
    background-color: #FF0000;">Hostname
  </th>
  <th style="border: 1px solid #FF9933;
    border-collapse: collapse;
    text-align:center;
    padding: 4px;
    background-color: #FF0000;">Last Report
  </th>
</tr>
<% list.each do |host| -%>
  <tr>
    <%= render 'link_to_host', :host => host %>
    <% if host.last_report -%>
      <td style="border: 1px solid #FF9933;
        border-collapse: collapse;
        padding: 4px;
        background-color: #FFFFFF;"><%= time_ago_in_words(host.last_report) %></td>
    <% else -%>
      <td style="border: 1px solid #FF9933;
        border-collapse: collapse;
        padding: 4px;
        background-color: #FFFFFF;">Unknown</td>
    <% end -%>
  </tr>
<% end -%>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_discovery-1.0.0 test/foreman_app/app/views/host_mailer/_nonactive_hosts.html.erb
foreman_discovery-1.0.0.rc4 test/foreman_app/app/views/host_mailer/_nonactive_hosts.html.erb
foreman_discovery-1.0.0.rc3 test/foreman_app/app/views/host_mailer/_nonactive_hosts.html.erb
foreman_discovery-1.0.0.rc2 test/foreman_app/app/views/host_mailer/_nonactive_hosts.html.erb
foreman_discovery-1.0.0.rc1 test/foreman_app/app/views/host_mailer/_nonactive_hosts.html.erb