Sha256: cd08810a4ed9cb44132b5b41e4d7319891851dbb009fa4a068bb9c2c2895f43e

Contents?: true

Size: 1.18 KB

Versions: 1

Compression:

Stored size: 1.18 KB

Contents

<table class="table table-bordered table-striped ellipsis">
  <tr>
    <th><%= sort :host %></th>
    <th><%= sort :reported_at, :as => _("Reported At") %></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.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(
                display_link_if_authorized(_("View Report"), hash_for_arf_report_path(:id => arf_report.id)),
                display_delete_if_authorized(hash_for_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

1 entries across 1 versions & 1 rubygems

Version Path
foreman_openscap-0.5.0 app/views/arf_reports/_list.html.erb