Sha256: 18fb0cab333996ffdc874975e409b1c1d60e839712865a18ef56551280560326

Contents?: true

Size: 872 Bytes

Versions: 4

Compression:

Stored size: 872 Bytes

Contents

<h2 class="sub-header">Failed Jobs</h2>
<p class="text-info">
  Here are the list of jobs that failed during execution.
</p>
<% 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/all') %>" method="POST">
    <%= csrf_token_tag %>
    <input type="submit" value="Retry Failed Jobs"></input>
  </form>
<% end %>
<p class="text-info">
  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

4 entries across 4 versions & 1 rubygems

Version Path
better_delayed_job_web-1.3.5 lib/better_delayed_job_web/application/views/failed.erb
better_delayed_job_web-1.3.3 lib/delayed_job_web/application/views/failed.erb
better_delayed_job_web-1.3.2 lib/delayed_job_web/application/views/failed.erb
better_delayed_job_web-1.3.1 lib/delayed_job_web/application/views/failed.erb