<%= t('Queue') %> |
<%= job.queue %>
|
<%= t('Job') %> |
<%= job.display_class %>
|
<%= t('Arguments') %> |
<%= display_args(job.display_args, nil) %>
|
JID |
<%= job.jid %>
|
<%= t('Enqueued') %> |
<%= relative_time(job.enqueued_at) %> |
<% unless retry_extra_items(job).empty? %>
<%= t('Extras') %> |
<%= retry_extra_items(job).inspect %>
|
<% end %>
<% if type == :retry %>
<% if job['retry_count'] && job['retry_count'] > 0 %>
<%= t('RetryCount') %> |
<%= job['retry_count'] %> |
<%= t('LastRetry') %> |
<%= relative_time(Time.at(job['retried_at'])) %> |
<% else %>
<%= t('OriginallyFailed') %> |
<%= relative_time(Time.at(job['failed_at'])) %> |
<% end %>
<%= t('NextRetry') %> |
<%= relative_time(job.at) %> |
<% end %>
<% if type == :scheduled %>
<%= t('Scheduled') %> |
<%= relative_time(job.at) %> |
<% end %>
<% if type == :dead %>
<%= t('LastRetry') %> |
<%= relative_time(job.at) %> |
<% end %>