Sha256: 6f9a52a1c66362adbe4fc9e73c2e7d3ff5cf8ce2e58ce3745ee36f1db06475aa

Contents?: true

Size: 550 Bytes

Versions: 4

Compression:

Stored size: 550 Bytes

Contents

<% if host.arf_reports.any? %>
<table class="table table-bordered table-striped" id="compliance">
  <tr>
    <th colspan="2"><%= _('Compliance Properties') %></th>
  </tr>
  <tr>
    <td><%= _('Compliance') %></td>
    <td>
      <% if host.arf_reports.search_for('failed > 0').blank? %>
        <%= link_to(report_event_column('O', "label-success"), scaptimony_host_path(host.id)) %>
      <% else %>
        <%= link_to(report_event_column('F', "label-danger"), scaptimony_host_path(host.id)) %>
      <% end %>
    </td>
  </tr>
</table>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
foreman_openscap-0.4.3 app/views/scaptimony_hosts/_host_status.html.erb
foreman_openscap-0.4.2 app/views/scaptimony_hosts/_host_status.html.erb
foreman_openscap-0.4.1 app/views/scaptimony_hosts/_host_status.html.erb
foreman_openscap-0.4.0 app/views/scaptimony_hosts/_host_status.html.erb