Sha256: c08cbffca95aad355375a395767e0a1e69f940764ff167289d7bd80f56f73a4f
Contents?: true
Size: 1008 Bytes
Versions: 72
Compression:
Stored size: 1008 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_css_classes('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
72 entries across 72 versions & 1 rubygems