mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
55 lines
1.6 KiB
Text
55 lines
1.6 KiB
Text
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
|
|
- 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(Time.at(@retry.score))
|
|
|
|
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')}"
|