diff --git a/app/views/delayed_jobs/index.html.erb b/app/views/delayed_jobs/index.html.erb index d3716a7e9..3aab89c15 100644 --- a/app/views/delayed_jobs/index.html.erb +++ b/app/views/delayed_jobs/index.html.erb @@ -2,36 +2,32 @@
| ID | +Queue | Name | <% if CurrentUser.is_admin? %>Handler | <% end %>Attempts | -Priority | Last error | -Run at | Failed at | -Queue | +Run at | |||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| <%= job.id %> | +<%= job.queue %> | <%= raw print_name(job) %> | <% if CurrentUser.is_admin? %> -<%= raw print_handler(job) %> | +<%= raw print_handler(job) %> | <% end %><%= job.attempts %> | -<%= job.priority %> | -<%= job.last_error %> | -<%= job.run_at %> | -<%= job.failed_at %> | -<%= job.queue %> | +<%= job.last_error %> | +<%= time_ago_in_words_tagged(job.failed_at) if job.failed_at %> | +<%= time_ago_in_words_tagged(job.run_at) %> |