Sha256: 43eb7f42f2d6a5dbb72488ba312f75752e8c30972bdc7202164f11acef81f561

Contents?: true

Size: 937 Bytes

Versions: 2

Compression:

Stored size: 937 Bytes

Contents

<div class="table-responsive">
  <table class="table table-bordered table-hover">
    <thead>
      <th>GoodJob ID</th>
      <th>ActiveJob ID</th>
      <th>Job Class</th>
      <th>Queue</th>
      <th>Scheduled At</th>
      <th>Error</th>
      <th>ActiveJob Params</th>
    </thead>
    <tbody>
      <% jobs.each do |job| %>
        <tr id="<%= dom_id(job) %>">
          <td><%= link_to job.id, active_job_path(job.serialized_params['job_id'], anchor: dom_id(job)) %></td>
          <td><%= link_to job.serialized_params['job_id'], active_job_path(job.serialized_params['job_id']) %></td>
          <td><%= job.serialized_params['job_class'] %></td>
          <td><%= job.queue_name %></td>
          <td><%= job.scheduled_at || job.created_at %></td>
          <td><%= job.error %></td>
          <td><pre><%= JSON.pretty_generate(job.serialized_params) %></pre></td>
        </tr>
      <% end %>
    </tbody>
  </table>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
good_job-1.3.2 engine/app/views/shared/_jobs_table.erb
good_job-1.3.1 engine/app/views/shared/_jobs_table.erb