Sha256: fa9bf0a4b18ddc8d6056ffa8e7c37ac350c2d3926cba3b87de17fc9057ca2659

Contents?: true

Size: 655 Bytes

Versions: 6

Compression:

Stored size: 655 Bytes

Contents

%h1="#{params[:queue].split("_").map(&:capitalize).join(" ")}"
- if @jobs.any?
  %form{:method => 'POST', :action => u('failed/clear')}
    %input{:type => 'submit', :value => 'Clear Failed Jobs'}
  %form{:method => 'POST', :action => u('update/all')}
    %input{:type => 'submit', :value => 'Retry Failed Jobs'}
%p.sub
  The list below contains jobs in the #{params[:queue].split("_").map(&:capitalize).join(" ")} queue.
%p.sub= "Showing #{start} to #{start + per_page} of #{@all_jobs} pending jobs."
%ul.job
  - @jobs.each do |job|
    = partial :job, {:job => job}
= partial :next_more, :start => start, :total_size => @all_jobs, :per_page => per_page

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
supervisor-0.0.96 lib/supervisor/application/views/queue.haml
supervisor-0.0.95 lib/supervisor/application/views/queue.haml
delayed_job_monitor-0.0.5 lib/delayed_job_monitor/application/views/queue.haml
delayed_job_monitor-0.0.4 lib/delayed_job_monitor/application/views/queue.haml
delayed_job_monitor-0.0.2 lib/delayed_job_monitor/application/views/queue.haml
delayed_job_monitor-0.0.1 lib/delayed_job_monitor/application/views/queue.haml