web/views/_job_table.erb in sidekiq-hierarchy-0.1.3 vs web/views/_job_table.erb in sidekiq-hierarchy-0.1.4

- old
+ new

@@ -7,31 +7,34 @@ <th>Status</th> <th>Enqueued at</th> <th>Run at</th> <th>Completed at</th> <th>Failed at</th> + <th>Other</th> </tr> </thead> <tbody> <% jobs.each do |job| %> <tr> + <% info = job.info %> <td> <a href="<%= job_url(job) %>"> <%= job.jid %> </a> </td> - <td><%= job.info['class'] %></td> - <td><%= job.info['queue'] %></td> + <td><%= info['class'] %></td> + <td><%= info['queue'] %></td> <td> <span class="label label-<%= bootstrap_status(job.status) %>"> <%= job.status %> </span> </td> <td><%= job.enqueued_at %></td> <td><%= job.run_at %></td> <td><%= job.complete_at %></td> <td><%= job.failed_at %></td> + <td><%= info.reject {|k,v| ['class', 'queue'].include?(k)} %></td> </tr> <% end %> </tbody> </table>