Sha256: 102437842c731bfe7b55029b6423c2e214e1fb54d12d9d0d1d755c7ff6b99727

Contents?: true

Size: 394 Bytes

Versions: 9

Compression:

Stored size: 394 Bytes

Contents

<% if host.arf_reports.any? %>
  <% if host.arf_reports.search_for('failed > 0').blank? %>
    <%= link_to(report_event_column('O', "label-success"), scaptimony_arf_reports_path(:search => "host=#{host.name}")) %>
  <% else %>
    <%= link_to(report_event_column('F', "label-danger"), scaptimony_arf_reports_path(:search => "host=#{host.name}")) %>
  <% end %>
<% end %>
<%= render_original %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
foreman_openscap-0.4.3 app/views/scaptimony_arf_reports/_host_report.html.erb
foreman_openscap-0.4.2 app/views/scaptimony_arf_reports/_host_report.html.erb
foreman_openscap-0.4.1 app/views/scaptimony_arf_reports/_host_report.html.erb
foreman_openscap-0.3.4 app/views/scaptimony_arf_reports/_host_report.html.erb
foreman_openscap-0.4.0 app/views/scaptimony_arf_reports/_host_report.html.erb
foreman_openscap-0.3.3 app/views/scaptimony_arf_reports/_host_report.html.erb
foreman_openscap-0.3.2 app/views/scaptimony_arf_reports/_host_report.html.erb
foreman_openscap-0.3.1 app/views/scaptimony_arf_reports/_host_report.html.erb
foreman_openscap-0.3.0 app/views/scaptimony_arf_reports/_host_report.html.erb