Sha256: a017ff9e1d5c6ec183728555a7841de7dc67ab787a07b9bdce7d6f02abb9cd66
Contents?: true
Size: 1000 Bytes
Versions: 26
Compression:
Stored size: 1000 Bytes
Contents
<h4 class="ca"><%= _('Latest Compliance Reports') %></h4> <% latest_reports = ForemanOpenscap::ArfReport.latest.limit(9) %> <% if latest_reports.empty? %> <p class="ca"><%= _("No reports available") %></p> <% else %> <table class="table table-striped table-fixed"> <tr> <%= latest_compliance_headers %> </tr> <% latest_reports.each do |report| %> <tr> <td class="ellipsis"><%= link_to h(report.host.nil? ? _('Host does not exist anymore') : report.host.name), arf_report_path(report) %></td> <td class="ellipsis"><%= report.policy.nil? ? _('Policy is missing') : link_to(h(report.policy.name), policy_dashboard_policy_path(report.policy)) %></td> <td class="ca"><%= report_event_column(report.passed, "label-success") %></td> <td class="ca"><%= report_event_column(report.failed, "label-danger") %></td> <td class="ca"><%= report_event_column(report.othered, "label-info") %></td> </tr> <% end %> </table> <% end %>
Version data entries
26 entries across 26 versions & 1 rubygems