Sha256: 9c38969cbf375e5d6cdc47630fa72f9ceb3f0cc0a06194a8359c092fe8a6351f

Contents?: true

Size: 747 Bytes

Versions: 2

Compression:

Stored size: 747 Bytes

Contents

<%= render 'good_job/shared/filter', title: "Jobs", filter: @filter %>
<%= render 'good_job/shared/chart', chart_data: GoodJob::ScheduledByQueueChart.new(@filter).data %>
<%= render 'good_job/jobs/table', jobs: @filter.records, all_jobs_count: @filter.filtered_query_count %>

<% if @filter.records.present? %>
  <nav aria-label="Job pagination" class="mt-3" data-gj-poll-replace id="jobs-pagination">
    <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>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
good_job-2.14.1 engine/app/views/good_job/jobs/index.html.erb
good_job-2.14.0 engine/app/views/good_job/jobs/index.html.erb