<% if failed_multiple_queues? && !params[:queue] %>

All Failed Queues: <%= Resque::Failure.queues.size %> total

<% else %>

Failed Jobs <%= "on '#{params[:queue]}'" if params[:queue] %> <%= "with class '#{params[:class]}'" if params[:class] %>

<% end %> <% unless failed_size.zero? %>
"> Jobs" onclick='return confirm("Are you absolutely sure? This cannot be undone.");' />
"> Jobs" />
<% end %> <% if failed_multiple_queues? && !params[:queue] %> <%= partial :failed_queues_overview %> <% else %>

<%= page_entries_info failed_start_at, failed_end_at, failed_size, 'job' %>

<%= partial :next_more, :start => failed_start_at, :size => failed_size, :per_page => failed_per_page if failed_size > 0 %> <% end %>