app/views/good_job/jobs/show.html.erb in good_job-3.99.1 vs app/views/good_job/jobs/show.html.erb in good_job-4.0.0
- old
+ new
@@ -3,13 +3,10 @@
<nav aria-label="breadcrumb">
<ol class="breadcrumb small mb-0">
<li class="breadcrumb-item"><%= link_to t(".jobs"), jobs_path %></li>
<li class="breadcrumb-item active" aria-current="page">
<%= tag.code @job.id, class: "text-muted" %>
- <% if @job.discrete? %>
- <span class="badge bg-info">Discrete</span>
- <% end %>
</li>
</ol>
</nav>
<div class="row align-items-center">
<div class="col-md-5">
@@ -85,10 +82,6 @@
<%= tag.div id: dom_id(@job, "params"), class: "list-group-item collapse small bg-dark text-light" do %>
<%= tag.pre JSON.pretty_generate(@job.display_serialized_params) %>
<% end %>
-<% if @job.discrete? %>
- <%= render 'executions', executions: @job.discrete_executions.reverse %>
-<% else %>
- <%= render 'executions', executions: @job.executions.includes_advisory_locks.reverse %>
-<% end %>
+<%= render 'executions', executions: @job.executions.reverse %>