Sha256: 7a5a8110eeb7ae8e3cc34741040bd9347a390c2e2d962935d2f8aedf668cd2ea

Contents?: true

Size: 1.18 KB

Versions: 2

Compression:

Stored size: 1.18 KB

Contents

<table class="table table-bordered table-striped ellipsis">
  <tr>
    <th><%= sort :host %></th>
    <th><%= sort :date, :as => _("Date") %></th>
    <th><%= sort :passed, :as => _("Passed") %></th>
    <th><%= sort :failed, :as => _("Failed") %></th>
    <th><%= sort :othered, :as => _("Other") %></th>
    <th></th>
  </tr>
  <% for arf_report in @arf_reports %>
    <tr>
      <td><%= name_column(arf_report.host) %></td>
      <td><%= _("%s ago") % time_ago_in_words(arf_report.date) %></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(
                display_link_if_authorized(_("View Report"), hash_for_scaptimony_arf_report_path(:id => arf_report.id)),
                display_delete_if_authorized(hash_for_scaptimony_arf_report_path(:id => arf_report.id),
                                             :confirm => _("Delete compliance report for %s?") % arf_report.asset.host)
            ) %>
      </td>
    </tr>
  <% end %>
</table>
<%= will_paginate_with_info @arf_reports %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foreman_openscap-0.4.3 app/views/scaptimony_arf_reports/_list.html.erb
foreman_openscap-0.4.2 app/views/scaptimony_arf_reports/_list.html.erb