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