Sha256: 666d9ad3b161736e17fa4c79d2adbe1007446249d8dd3de407578fef65557c45

Contents?: true

Size: 835 Bytes

Versions: 6

Compression:

Stored size: 835 Bytes

Contents

<table class="<%= table_css_classes('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

6 entries across 6 versions & 1 rubygems

Version Path
foreman_openscap-0.10.2 app/views/policy_dashboard/_policy_reports.html.erb
foreman_openscap-0.10.1 app/views/policy_dashboard/_policy_reports.html.erb
foreman_openscap-0.9.3 app/views/policy_dashboard/_policy_reports.html.erb
foreman_openscap-0.10.0 app/views/policy_dashboard/_policy_reports.html.erb
foreman_openscap-0.9.2 app/views/policy_dashboard/_policy_reports.html.erb
foreman_openscap-0.9.1 app/views/policy_dashboard/_policy_reports.html.erb