Sha256: e1cdbd3feaa324cf8253467f738fcfdcc5c056002e85cd1adff2430da6c92809

Contents?: true

Size: 559 Bytes

Versions: 5

Compression:

Stored size: 559 Bytes

Contents

<div class="card my-3 p-6">
  <%= render 'shared/chart', chart_data: @chart %>
</div>

<% if @jobs.present? %>
  <%= render 'shared/jobs_table', jobs: @jobs %>

  <nav aria-label="Job pagination">
    <ul class="pagination">
      <li class="page-item">
        <%= link_to({ after_scheduled_at: (@jobs.last.scheduled_at || @jobs.last.created_at), after_id: @jobs.last.id }, class: "page-link") do %>
          Next jobs <span aria-hidden="true">&raquo;</span>
        <% end %>
      </li>
    </ul>
  </nav>
<% else %>
  <em>No jobs present.</em>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
good_job-1.3.2 engine/app/views/good_job/dashboards/index.html.erb
good_job-1.3.1 engine/app/views/good_job/dashboards/index.html.erb
good_job-1.3.0 engine/app/views/good_job/dashboards/index.html.erb
good_job-1.2.6 engine/app/views/good_job/dashboards/index.html.erb
good_job-1.2.5 engine/app/views/good_job/dashboards/index.html.erb