Sha256: b08908a68b480e92e3bc512e46fc17bcb1bd2fc74cd8d8dcde3c044494e06dcd
Contents?: true
Size: 699 Bytes
Versions: 15
Compression:
Stored size: 699 Bytes
Contents
<h4><%= link_to _("Latest Warning/Error Tasks "), foreman_tasks_tasks_path(:order=>'started_at DESC') %></h4> <table class="table table-striped"> <tr> <th><%= _("Name") %></th> <th><%= _("State") %></th> <th><%= _("Result") %></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><%= 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> </tr> <% end %> </table>
Version data entries
15 entries across 15 versions & 1 rubygems