/delayed_jobs: reorganize columns; fix column sizes.
This commit is contained in:
@@ -2,36 +2,32 @@
|
||||
<div id="a-index">
|
||||
<h1>Delayed Jobs</h1>
|
||||
|
||||
<table class="striped" width="100%">
|
||||
<table class="striped autofit">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Queue</th>
|
||||
<th>Name</th>
|
||||
<% if CurrentUser.is_admin? %>
|
||||
<th>Handler</th>
|
||||
<% end %>
|
||||
<th>Attempts</th>
|
||||
<th>Priority</th>
|
||||
<th>Last error</th>
|
||||
<th>Run at</th>
|
||||
<th>Failed at</th>
|
||||
<th>Queue</th>
|
||||
<th>Run at</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<% @delayed_jobs.each do |job| %>
|
||||
<tr>
|
||||
<td><%= job.id %></td>
|
||||
<td><%= job.queue %></td>
|
||||
<td><%= raw print_name(job) %></td>
|
||||
<% if CurrentUser.is_admin? %>
|
||||
<td><%= raw print_handler(job) %></td>
|
||||
<td class="col-expand"><%= raw print_handler(job) %></td>
|
||||
<% end %>
|
||||
<td><%= job.attempts %></td>
|
||||
<td><%= job.priority %></td>
|
||||
<td><%= job.last_error %></td>
|
||||
<td><%= job.run_at %></td>
|
||||
<td><%= job.failed_at %></td>
|
||||
<td><%= job.queue %></td>
|
||||
<td class="col-expand"><%= job.last_error %></td>
|
||||
<td><%= time_ago_in_words_tagged(job.failed_at) if job.failed_at %></td>
|
||||
<td><%= time_ago_in_words_tagged(job.run_at) %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user