<% if executions.present? %> <% executions.each do |execution| %> <% end %> <% else %> <% end %>
ActiveJob ID Execution ID Job Class Queue Scheduled At Error ActiveJob Params  <%= tag.button "Toggle", type: "button", class: "btn btn-sm btn-outline-primary", role: "button", data: { bs_toggle: "collapse", bs_target: ".job-params" }, aria: { expanded: false, controls: executions.map { |execution| "##{dom_id(execution, "params")}" }.join(" ") } %> Actions
<%= link_to job_path(execution.serialized_params['job_id']) do %> <%= execution.active_job_id %> <% end %> <%= link_to job_path(execution.active_job_id, anchor: dom_id(execution)) do %> <%= execution.id %> <% end %> <%= execution.serialized_params['job_class'] %> <%= execution.queue_name %> <%= relative_time(execution.scheduled_at || execution.created_at) %> <%= truncate(execution.error, length: 1_000) %> <%= tag.button "Preview", type: "button", class: "btn btn-sm btn-outline-primary", role: "button", data: { bs_toggle: "collapse", bs_target: "##{dom_id(execution, 'params')}" }, aria: { expanded: false, controls: dom_id(execution, "params") } %> <%= tag.pre JSON.pretty_generate(execution.serialized_params), id: dom_id(execution, "params"), class: "collapse job-params" %> <%= button_to execution_path(execution.id), method: :delete, class: "btn btn-sm btn-outline-danger", title: "Delete execution", data: { confirm: "Confirm delete" } do %> <%= render "good_job/shared/icons/trash" %> <% end %>
No executions found.