<% @subtabs = resque_admin.queues unless partial? || params[:id].nil? %> <% if queue = params[:id] %>

Pending jobs on <%= queue %>

" class='remove-queue'>

<%= page_entries_info start = params[:start].to_i, start + 19, size = resque_admin.size(queue), 'job' %>

<% for job in (jobs = resque_admin.peek(queue, start, 20)) %> <% end %> <% if jobs.empty? %> <% end %>
Class Args
<%= partial :job_class, :job => job %> <%=h job['args'].inspect %>
There are no pending jobs in this queue
<%= partial :next_more, :start => start, :size => size, :per_page => 20 %> <% else %>

Queues

The list below contains all the registered queues with the number of jobs currently in the queue. Select a queue from above to view all jobs currently pending on the queue.

<% resque_admin.queues.sort_by { |q| q.to_s }.each do |queue| %> <% end %> <% if failed_multiple_queues? %> <% ResqueAdmin::Failure.queues.sort_by { |q| q.to_s }.each_with_index do |queue, i| %> <%= " first_failure" if i.zero? %>"> <% end %> <% else %> "> <% end %>
Name Jobs
"><%= queue %> <%= resque_admin.size queue %>
"><%= queue %> <%= ResqueAdmin::Failure.count(queue) %>
failed <%= ResqueAdmin::Failure.count %>
<% end %>