Sha256: de0619c4b2ffb91630d73b76b221910e652df39a03fbd194c86e5c7f8b44618b

Contents?: true

Size: 1.1 KB

Versions: 9

Compression:

Stored size: 1.1 KB

Contents

<% if !GoodJob::Process.migrated? %>
  <div class="card my-3">
    <div class="card-body">
      <p class="card-text">
        <em>Feature unavailable because of pending database migration.</em>
      </p>
    </div>
  </div>
<% elsif @processes.present? %>
  <div class="card my-3">
    <div class="table-responsive">
      <table class="table card-table table-bordered table-hover table-sm mb-0">
        <thead>
        <tr>
          <th>Process UUID</th>
          <th>Created At</th></th>
          <th>State</th>
        </tr>
        </thead>
        <tbody>
        <% @processes.each do |process| %>
          <tr class="<%= dom_class(process) %>" id="<%= dom_id(process) %>">
            <td><%= process.id %></td>
            <td><%= relative_time(process.created_at) %></td>
            <td><%= tag.pre JSON.pretty_generate(process.state) %></td>
          </tr>
        <% end %>
        </tbody>
      </table>
    </div>
  </div>
<% else %>
  <div class="card my-3">
    <div class="card-body">
      <p class="card-text">
        <em>No GoodJob processes found.</em>
      </p>
    </div>
  </div>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
good_job-2.9.6 engine/app/views/good_job/processes/index.html.erb
good_job-2.9.5 engine/app/views/good_job/processes/index.html.erb
good_job-2.9.4 engine/app/views/good_job/processes/index.html.erb
good_job-2.9.3 engine/app/views/good_job/processes/index.html.erb
good_job-2.9.2 engine/app/views/good_job/processes/index.html.erb
good_job-2.9.1 engine/app/views/good_job/processes/index.html.erb
good_job-2.9.0 engine/app/views/good_job/processes/index.html.erb
good_job-2.8.1 engine/app/views/good_job/processes/index.html.erb
good_job-2.8.0 engine/app/views/good_job/processes/index.html.erb