Sha256: f98a6307a6811623e5bb54fc784b2e62626808193ecca1ed34752cd3a876341d

Contents?: true

Size: 1.17 KB

Versions: 2

Compression:

Stored size: 1.17 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><%= arf_report.host.nil? ? _('Host does not exist anymore') : 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(
          link_to(_("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.1 app/views/scaptimony_arf_reports/_list.html.erb
foreman_openscap-0.3.4 app/views/scaptimony_arf_reports/_list.html.erb