Sha256: d3e4059e3d55e09c0fc826a937cc12ef0fa103a64221c85e45625ce9fd376e26

Contents?: true

Size: 1.38 KB

Versions: 1

Compression:

Stored size: 1.38 KB

Contents

header
  h3 = t('Job')

table class="table table-bordered table-striped"
  tbody
    tr
      th = t('Queue')
      td
        a href="#{root_path}queues/#{job['queue']}" #{job['queue']}
    tr
      th = t('Class')
      td
        code= job['class']
    tr
      th = t('Arguments')
      td
        code
          // We don't want to truncate any job arguments when viewing a single job's status page
          div.args-extended=display_args(job['args'], nil)
    tr
      th JID
      td
        code= job.jid
    tr
      th = t('Enqueued')
      td== relative_time(job.enqueued_at)
    - unless retry_extra_items(job).empty?
      tr
        th = t('Extras')
        td
          code
            = retry_extra_items(job).inspect
    - if type == :retry
      - if job['retry_count'] && job['retry_count'] > 0
        tr
          th = t('RetryCount')
          td= job['retry_count']
        tr
          th = t('LastRetry')
          td== relative_time(job['retried_at'].is_a?(Numeric) ? Time.at(job['retried_at']) : Time.parse(job['retried_at']))
      - else
        tr
          th = t('OriginallyFailed')
          td== relative_time(job['failed_at'].is_a?(Numeric) ? Time.at(job['failed_at']) : Time.parse(job['failed_at']))
      tr
        th = t('NextRetry')
        td== relative_time(job.at)
    - if type == :scheduled
      tr
        th = t('Scheduled')
        td== relative_time(job.at)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sidekiq-2.13.1 web/views/_job_info.slim