clean up job listing, bug fixes

This commit is contained in:
albert
2013-02-17 23:16:56 -05:00
parent 1b780e27ab
commit 2af59642f6
6 changed files with 12 additions and 6 deletions

View File

@@ -3,6 +3,7 @@
<table class="striped" width="100%">
<thead>
<tr>
<th>ID</th>
<% if CurrentUser.is_admin? %>
<th>Handler</th>
<% end %>
@@ -16,8 +17,9 @@
<tbody>
<% @delayed_jobs.each do |job| %>
<tr>
<td><%= job.id %></td>
<% if CurrentUser.is_admin? %>
<td><%= job.handler %></td>
<td><%= job.handler[:method_name] %></td>
<% end %>
<td><%= job.attempts %></td>
<td><%= job.priority %></td>