Sha256: 2d3a5806447241b31c9d8ba1da3a390de7f0dcbbe1f842a12912288669d675b4

Contents?: true

Size: 1.81 KB

Versions: 3

Compression:

Stored size: 1.81 KB

Contents

header
  h3 = t('Job')

table class="retry table table-bordered table-striped"
  tbody
    tr
      th = t('Queue')
      td
        a href="#{root_path}queues/#{@retry['queue']}" #{@retry['queue']}
    tr
      th = t('Class')
      td
        code= @retry['class']
    tr
      th = t('Arguments')
      td
        code= display_args(@retry['args'], 1000)
    tr
      th JID
      td
        code= @retry.jid
    tr
      th = t('Enqueued')
      td== relative_time(@retry.enqueued_at)
    - unless retry_extra_items(@retry).empty?
      tr
        th = t('Extras')
        td
          code
            = retry_extra_items(@retry).inspect
    - if @retry['retry_count'] > 0
      tr
        th = t('RetryCount')
        td= @retry['retry_count']
      tr
        th = t('LastRetry')
        td== relative_time(@retry['retried_at'].is_a?(Numeric) ? Time.at(@retry['retried_at']) : Time.parse(@retry['retried_at']))
    - else
      tr
        th = t('OriginallyFailed')
        td== relative_time(@retry['failed_at'].is_a?(Numeric) ? Time.at(@retry['failed_at']) : Time.parse(@retry['failed_at']))
    tr
      th = t('NextRetry')
      td== relative_time(@retry.at)

h3 = t('Error')
table class="error table table-bordered table-striped"
  tbody
    tr
      th = t('ErrorClass')
      td
        code= @retry['error_class']
    tr
      th = t('ErrorMessage')
      td= @retry['error_message']
    - if !@retry['error_backtrace'].nil?
      tr
        th = t('ErrorBacktrace')
        td
          code== @retry['error_backtrace'].join("<br/>")
form.form-horizontal action="#{root_path}retries/#{job_params(@retry, @retry.score)}" method="post"
  a.btn href="#{root_path}retries" = t('GoBack')
  input.btn.btn-primary type="submit" name="retry" value="#{t('RetryNow')}"
  input.btn.btn-danger type="submit" name="delete" value="#{t('Delete')}"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sidekiq-2.13.0 web/views/retry.slim
sidekiq-2.12.4 web/views/retry.slim
sidekiq-2.12.3 web/views/retry.slim