Sha256: e1b145eef02948a72e027788f169cc64731def323dd3a1cdf899ba095e630d05

Contents?: true

Size: 410 Bytes

Versions: 5

Compression:

Stored size: 410 Bytes

Contents

<table class="table table-bordered table-striped table-condensed">
  <tr>
    <th><%= _('Report Status') %></th>
    <th></th>
  </tr>
    <% report_summary.each do |name, value| -%>
    <tr>
      <td> <%= name %> </td>
      <% style = (name =~ /failed|failed_restart/ and value > 0) ? "label label-important" : ""-%>
      <td><p class="<%= style %>"> <%= value %> </p></td>
    </tr>
  <% end -%>
</table>

Version data entries

5 entries across 5 versions & 1 rubygems

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