engine/app/views/good_job/executions/index.html.erb in good_job-2.9.6 vs engine/app/views/good_job/executions/index.html.erb in good_job-2.10.0
- old
+ new
@@ -2,20 +2,18 @@
<%= render 'good_job/shared/chart', chart_data: GoodJob::ScheduledByQueueChart.new(@filter).data %>
</div>
<%= render 'good_job/shared/filter', filter: @filter %>
-<% if @filter.records.present? %>
- <%= render 'good_job/executions/table', executions: @filter.records %>
+<%= render 'good_job/executions/table', executions: @filter.records %>
+<% if @filter.records.present? %>
<nav aria-label="Job pagination" class="mt-3">
<ul class="pagination">
<li class="page-item">
<%= link_to({ after_scheduled_at: (@filter.last.scheduled_at || @filter.last.created_at), after_id: @filter.last.id }, class: "page-link") do %>
Older executions <span aria-hidden="true">»</span>
<% end %>
</li>
</ul>
</nav>
-<% else %>
- <em>No executions present.</em>
<% end %>