Sha256: 5f0b105bb338f2fc8d8e416f23eb318993eee4c5a31339e76bf4c5f9e54c92ae

Contents?: true

Size: 1.6 KB

Versions: 5

Compression:

Stored size: 1.6 KB

Contents

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_discovery-1.0.0 test/foreman_app/app/views/reports/_list.html.erb
foreman_discovery-1.0.0.rc4 test/foreman_app/app/views/reports/_list.html.erb
foreman_discovery-1.0.0.rc3 test/foreman_app/app/views/reports/_list.html.erb
foreman_discovery-1.0.0.rc2 test/foreman_app/app/views/reports/_list.html.erb
foreman_discovery-1.0.0.rc1 test/foreman_app/app/views/reports/_list.html.erb