1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/web/views/retry.slim
2012-03-29 20:55:16 -07:00

44 lines
1.2 KiB
Text

header
h1 Retry Job
- retries_with_score(@score).each do |msg|
table class="table table-striped table-bordered"
tbody
tr
th Queue
td
a href="#{root_path}queues/#{msg['queue']}" #{msg['queue']}
tr
th Job Class
td
code= msg['class']
tr
th Job Arguments
td
code= msg['args'].inspect[0..1000]
tr
th Error Class
td
code= msg['error_class']
tr
th Error Message
td= msg['error_message']
- if msg['retry_count'] > 0
tr
th Retry Count
td= msg['retry_count']
tr
th Last Retry
td== relative_time(Time.parse(msg['retried_at']))
- else
tr
th Originally Failed
td== relative_time(Time.parse(msg['failed_at']))
tr
th Next Retry
td== relative_time(Time.at(@score))
form.form-horizontal action="#{root_path}retries/#{@score}" method="post"
a.btn href="#{root_path}" ← Back
input.btn.btn-primary type="submit" name="retry" value="Retry Now"
input.btn.btn-danger type="submit" name="delete" value="Delete"