<%= t('Queue') %> |
<%= job['queue'] %>
|
<%= t('Class') %> |
<%= job['class'] %>
|
<%= t('Arguments') %> |
<%= display_args(job['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(job['retried_at'].is_a?(Numeric) ? Time.at(job['retried_at']) : Time.parse(job['retried_at'])) %> |
<% else %>
<%= t('OriginallyFailed') %> |
<%= relative_time(job['failed_at'].is_a?(Numeric) ? Time.at(job['failed_at']) : Time.parse(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 %>