Sha256: 791e037e8e39487d161c82f70864a1060b46cce9084e077b80f1e76efa9729c5

Contents?: true

Size: 928 Bytes

Versions: 52

Compression:

Stored size: 928 Bytes

Contents

<h4><%= link_to _("Latest Warning/Error Tasks"), foreman_tasks_tasks_path(:order=>'started_at DESC') %></h4>
<table class="<%= table_css_classes('table-fixed') %>">
  <tr>
    <th class="col-md-5"><%= _("Name") %></th>
    <th class="col-md-2"><%= _("State") %></th>
    <th class="col-md-2"><%= _("Result") %></th>
    <th class="col-md-3"><%= _("Started") %></th>
  </tr>
  <% ForemanTasks::Task::Summarizer.new.latest_tasks_in_errors_warning.each do |task| %>
    <tr class="<%= ForemanTasks::Task::StatusExplicator.new.is_erroneous(task) ? 'text-danger' : '' %>">
      <td class="ellipsis"><%= link_to task.humanized[:action], defined?(main_app) ? main_app.foreman_tasks_task_path(task.id) : foreman_tasks_task_path(task.id) %></td>
      <td><%= task.state %></td>
      <td><%= task.result %></td>
      <td><%= task.started_at ? (_(date_time_relative(task.started_at))) : _('N/A') %></td>
    </tr>
  <% end %>
</table>

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
foreman-tasks-2.0.3 app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb
foreman-tasks-3.0.2 app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb
foreman-tasks-3.0.1 app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb
foreman-tasks-3.0.0 app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb
foreman-tasks-2.0.2 app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb
foreman-tasks-1.1.3 app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb
foreman-tasks-1.1.2 app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb
foreman-tasks-2.0.1 app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb
foreman-tasks-2.0.0 app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb
foreman-tasks-1.2.0 app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb
foreman-tasks-1.1.1 app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb
foreman-tasks-1.1.0 app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb
foreman-tasks-0.17.6 app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb
foreman-tasks-1.0.1 app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb
foreman-tasks-1.0.0 app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb
foreman-tasks-0.17.5 app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb
foreman-tasks-0.17.4 app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb
foreman-tasks-0.17.3 app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb
foreman-tasks-0.17.2 app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb
foreman-tasks-0.16.3 app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb