app/views/good_job/jobs/show.html.erb in good_job-3.4.8 vs app/views/good_job/jobs/show.html.erb in good_job-3.5.0
- old
+ new
@@ -45,10 +45,10 @@
<%= render_icon "arrow_clockwise" %>
Retry
<% end %>
<% end %>
- <% if @job.status.in? [:discarded, :finished] %>
+ <% if @job.status.in? [:discarded, :succeeded] %>
<%= button_to job_path(@job.id), method: :delete, class: "btn btn-sm btn-outline-primary", form_class: "d-inline-block", aria: { label: "Destroy job" }, title: "Destroy job", data: { confirm: "Confirm destroy" } do %>
<%= render_icon "trash" %>
Destroy
<% end %>
<% end %>