<% if host.arf_reports.any? %>
<%= _('Compliance Properties') %>
<%= _('Compliance') %> <% if host.arf_reports.search_for('failed > 0').blank? %> <%= link_to(report_event_column('O', "label-success"), scaptimony_host_path(host.id)) %> <% else %> <%= link_to(report_event_column('F', "label-danger"), scaptimony_host_path(host.id)) %> <% end %>
<% end %>