Sha256: 2ab0c6f5237a6e630ed1a906b54675de8530027b1a0e0cac462c153ab37a3fdb

Contents?: true

Size: 765 Bytes

Versions: 6

Compression:

Stored size: 765 Bytes

Contents

<h1>Failed Jobs</h1>
<% if @jobs.any? %>
  <form action="<%= u('failed/clear') %>" method="POST">
    <%= csrf_token_tag %>
    <input type="submit" value="Clear Failed Jobs"></input>
  </form>
  <form action="<%= u('requeue/failed') %>" method="POST">
    <%= csrf_token_tag %>
    <input type="submit" value="Retry Failed Jobs"></input>
  </form>
<% end %>
<p class="sub">
  The list below contains all jobs that have a last_error message set.
</p>
<p class="sub">
  <%= "Showing #{start} to #{start + per_page} of #{@all_jobs.count} failed jobs." %>
</p>
<ul class="failed job">
  <% @jobs.each do |job| %>
    <%= partial :job, {:job => job} %>
  <% end %>
</ul>
<%= partial :next_more, :start => start, :total_size => @all_jobs.count, :per_page => per_page %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
delayed_job_web-1.4.4 lib/delayed_job_web/application/views/failed.erb
delayed_job_web-1.4.3 lib/delayed_job_web/application/views/failed.erb
delayed_job_web-1.4.2 lib/delayed_job_web/application/views/failed.erb
delayed_job_web-1.4 lib/delayed_job_web/application/views/failed.erb
delayed_job_web-1.3 lib/delayed_job_web/application/views/failed.erb
delayed_job_web-1.2.10 lib/delayed_job_web/application/views/failed.erb