engine/app/views/good_job/jobs/index.html.erb in good_job-2.9.6 vs engine/app/views/good_job/jobs/index.html.erb in good_job-2.10.0

- old
+ new

@@ -1,20 +1,23 @@ +<div class="my-3 flex"> + <h2>All Jobs</h2> +</div> + <div class="card my-3 p-6"> <%= render 'good_job/shared/chart', chart_data: GoodJob::ScheduledByQueueChart.new(@filter).data %> </div> <%= render 'good_job/shared/filter', filter: @filter %> +<%= render 'good_job/jobs/table', jobs: @filter.records %> + <% if @filter.records.present? %> - <%= render 'good_job/jobs/table', jobs: @filter.records %> <nav aria-label="Job pagination" class="mt-3"> <ul class="pagination"> <li class="page-item"> <%= link_to(@filter.to_params(after_scheduled_at: (@filter.last.scheduled_at || @filter.last.created_at), after_id: @filter.last.id), class: "page-link") do %> Older jobs <span aria-hidden="true">&raquo;</span> <% end %> </li> </ul> </nav> -<% else %> - <em>No jobs present.</em> <% end %>