Sha256: 45cbf2a15650c685ce58a2374b72392633f730d35dd5cf84eabfb7046b034c8a

Contents?: true

Size: 1.5 KB

Versions: 13

Compression:

Stored size: 1.5 KB

Contents

<div class="border-bottom py-2 mb-3">
  <div class="pt-2">
    <div class="row align-items-center">
      <div class="col">
        <nav aria-label="breadcrumb">
          <ol class="breadcrumb small mb-0">
            <li class="breadcrumb-item"><%= link_to t("good_job.batches.index.title"), batches_path %></li>
            <li class="breadcrumb-item active" aria-current="page"><%= tag.code @batch.id, class: "text-muted" %></li>
          </ol>
          <h2 class="h5 mt-2"><%= @batch.description %></h2>
        </nav>
      </div>
      <div class="col text-end">
        <% if @batch.discarded? %>
          <%= button_to retry_batch_path(@batch), method: :put, class: "btn btn-sm btn-outline-primary", form_class: "d-inline-block", aria: { label: t("good_job.batches.actions.retry") }, title: t("good_job.batches.actions.retry"), data: { confirm: t("good_job.batches.actions.confirm_retry") } do %>
            <%= render_icon "arrow_clockwise" %>
            <%= t "good_job.actions.retry" %>
          <% end %>
        <% end %>
      </div>
    </div>
  </div>
</div>

<div class="my-4">
  <h5><%= t ".attributes" %></h5>
  <div class="bg-dark text-secondary p-3 rounded">
    <%= tag.pre JSON.pretty_generate @batch.display_attributes, class: 'text-wrap text-break' %>
  </div>
</div>

<div class="my-4">
  <h5><%= t ".callback_jobs" %></h5>
  <%= render 'jobs', jobs: @batch.callback_jobs.reverse %>
</div>

<div class="my-4">
  <h5><%= t ".batched_jobs" %></h5>
  <%= render 'jobs', jobs: @batch.jobs.reverse %>
</div>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
good_job-4.8.2 app/views/good_job/batches/show.html.erb
good_job-4.8.1 app/views/good_job/batches/show.html.erb
good_job-4.8.0 app/views/good_job/batches/show.html.erb
good_job-4.7.0 app/views/good_job/batches/show.html.erb
good_job-4.6.0 app/views/good_job/batches/show.html.erb
good_job-4.5.1 app/views/good_job/batches/show.html.erb
good_job-4.5.0 app/views/good_job/batches/show.html.erb
good_job-4.4.2 app/views/good_job/batches/show.html.erb
good_job-4.4.1 app/views/good_job/batches/show.html.erb
good_job-4.4.0 app/views/good_job/batches/show.html.erb
good_job-4.3.0 app/views/good_job/batches/show.html.erb
good_job-4.2.1 app/views/good_job/batches/show.html.erb
good_job-4.2.0 app/views/good_job/batches/show.html.erb