<%= link_to _("Latest Warning/Error Tasks"), foreman_tasks_tasks_path(:order=>'started_at DESC') %>

<% ForemanTasks::Task::Summarizer.new.latest_tasks_in_errors_warning.each do |task| %> <% end %>
<%= _("Name") %> <%= _("State") %> <%= _("Result") %> <%= _("Started") %>
<%= link_to task.humanized[:action], defined?(main_app) ? main_app.foreman_tasks_task_path(task.id) : foreman_tasks_task_path(task.id) %> <%= task.state %> <%= task.result %> <%= task.started_at ? (_(date_time_relative(task.started_at))) : _('N/A') %>