Sha256: d1b53d1da14e2ed04cf1eceea5fd10d80c60815dd4a238ff97bf971613b4aa45

Contents?: true

Size: 1.79 KB

Versions: 9

Compression:

Stored size: 1.79 KB

Contents

- title t('.title')
- content_for :breadcrumbs do
  =breadcrumb_step delayed_jobs_path, 'Delayed Job Queue'
.card
  .card-header
    %h3.float-start=t('.title')
    = card_nav_items do
      = delete_nav_link(@delayed_job, delayed_job_path(@delayed_job))
      = restart_nav_link(@delayed_job, resubmit_delayed_job_path(@delayed_job))
  .card-body
    .table-responsive
      %table.table.card-table.border.table-stripped
        %thead
          %tr
            %th Key
            %th Value
        %tbody
          %tr
            %td=t('.name_label')
            %td=@delayed_job.name
          %tr
            %td=t('.queue_label')
            %td=@delayed_job.queue&.titleize
          %tr
            %td=t('.priority_label')
            %td=@delayed_job.priority
          %tr
            %td=t('.run_at_label')
            %td=current_user.local_time(@delayed_job.run_at)
          %tr
            %td=t('.locked_at_label')
            %td=current_user.local_time(@delayed_job.locked_at)
          %tr
            %td=t('.locked_by_label')
            %td=@delayed_job.locked_by.presence || 'N/A'
          %tr
            %td=t('.handler_label')
            %td=@delayed_job.job_payload
          - if @delayed_job.failed?
            %tr
              %td=t('.failed_at_label')
              %td=current_user.local_time(@delayed_job.failed_at)
            %tr
              %td=t('.failed_object_label')
              %td=@delayed_job.failed_object.inspect
            %tr
              %td=t('.failed_method_label')
              %td=@delayed_job.failed_method_name
            %tr
              %td=t('.failed_args_label')
              %td=@delayed_job.failed_args
            -if @delayed_job.last_error.present?
              %tr
                %td=t('.last_error_label')
                %td=@delayed_job.last_error

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
web47core-3.2.20 app/views/delayed_jobs/show.html.haml
web47core-3.2.19 app/views/delayed_jobs/show.html.haml
web47core-3.2.18 app/views/delayed_jobs/show.html.haml
web47core-3.2.17 app/views/delayed_jobs/show.html.haml
web47core-3.2.16 app/views/delayed_jobs/show.html.haml
web47core-3.2.15 app/views/delayed_jobs/show.html.haml
web47core-3.2.14 app/views/delayed_jobs/show.html.haml
web47core-3.2.13 app/views/delayed_jobs/show.html.haml
web47core-3.2.12 app/views/delayed_jobs/show.html.haml