Sha256: 54c8bf791b6feb4b1f0f66b24b7e5dcb6eb9404b8f87dab381cea4c2adec1d40

Contents?: true

Size: 841 Bytes

Versions: 4

Compression:

Stored size: 841 Bytes

Contents

<table class="table table-bordered table-striped ellipsis">
  <tr>
    <th><%= _('Host') %></th>
    <th><%= _("Date") %></th>
    <th><%= _("Passed") %></th>
    <th><%= _("Failed") %></th>
    <th><%= _("Other") %></th>
    <th></th>
  </tr>
  <% for arf_report in @policy.arf_reports.latest %>
    <tr>
      <td><%= name_column(arf_report.host) %></td>
      <td><%= date_time_relative_value(arf_report.reported_at) %></td>
      <td><%= report_arf_column(arf_report.passed, "label-info") %></th>
      <td><%= report_arf_column(arf_report.failed, "label-danger") %></th>
      <td><%= report_arf_column(arf_report.othered, "label-warning") %></th>
      <td>
        <%= action_buttons(
                link_to(_("View Report"), hash_for_arf_report_path(:id => arf_report.id))
            ) %>
      </td>
    </tr>
  <% end %>
</table>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
foreman_openscap-0.8.6 app/views/policy_dashboard/_policy_reports.html.erb
foreman_openscap-0.8.5 app/views/policy_dashboard/_policy_reports.html.erb
foreman_openscap-0.9.0 app/views/policy_dashboard/_policy_reports.html.erb
foreman_openscap-0.8.4 app/views/policy_dashboard/_policy_reports.html.erb