Sha256: d558711791c30add1a09cac6ed4fe139268bedc485389d628c244eea3a82243e

Contents?: true

Size: 625 Bytes

Versions: 38

Compression:

Stored size: 625 Bytes

Contents

<h4 class="header"><%=_("Task Status")%></h4>
<table class="table table-striped">
  <tr>
    <th><%= _("State") %></th>
    <th><%= _("Result") %></th>
    <th><%= _("No. of Tasks") %></th>
  </tr>
  <% ForemanTasks::Task::Summarizer.new.summarize_by_status.each do |result| %>
    <tr class="<%= ForemanTasks::Task::StatusExplicator.new.is_erroneous(result) ? 'text-danger' : '' %>">
      <td><%= result.state %></td>
      <td><%= result.result %></td>
      <td><%= link_to result.count, main_app.foreman_tasks_tasks_path(:search => "state=#{result.state}&result=#{result.result}") %></td>
    </tr>
  <% end %>
</table>

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
foreman-tasks-0.9.6 app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb
foreman-tasks-0.9.5 app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb
foreman-tasks-0.10.0 app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb
foreman-tasks-0.9.4 app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb
foreman-tasks-0.9.3 app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb
foreman-tasks-0.9.2 app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb
foreman-tasks-0.9.1 app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb
foreman-tasks-0.9.0 app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb
foreman-tasks-0.8.6 app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb
foreman-tasks-0.8.5 app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb
foreman-tasks-0.8.4 app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb
foreman-tasks-0.8.3 app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb
foreman-tasks-0.8.2 app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb
foreman-tasks-0.8.1 app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb
foreman-tasks-0.8.0 app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb
foreman-tasks-0.7.20 app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb
foreman-tasks-0.7.19 app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb
foreman-tasks-0.7.18 app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb
foreman-tasks-0.7.17 app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb
foreman-tasks-0.7.16 app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb