<% unless params[:host_id] -%> <% end -%> <% for report in @reports %> <% unless params[:host_id] -%> <% end -%> <% end %>
<%= sort :host %><%= sort :reported, :as => _("Last report") %> <%= sort :applied, :as => _("Applied") %> <%= sort :restarted, :as => _("Restarted") %> <%= sort :failed, :as => _("Failed") %> <%= sort :failed_restarts, :as => _("Restart
Failures").html_safe %>
<%= sort :skipped, :as => _("Skipped") %> <%= sort :pending, :as => _("Pending") %>
<%= link_to h(report.host), host_reports_path(report.host) %><%= reported_at_column(report) %> <%= report_event_column(report.applied, "label-info") %> <%= report_event_column(report.restarted, "label-info") %> <%= report_event_column(report.failed, "label-important") %> <%= report_event_column(report.failed_restarts, "label-warning") %> <%= report_event_column(report.skipped, "label-info") %> <%= report_event_column(report.pending, "label-info") %> <%= display_delete_if_authorized hash_for_report_path(:id => report.id), :confirm => _("Delete report for %s?") % report.host.name %>
<%= page_entries_info @reports %> <%= will_paginate @reports %>