<%= t('Job') %>

<% unless retry_extra_items(job).empty? %> <% end %> <% if type == :retry %> <% if job['retry_count'] && job['retry_count'] > 0 %> <% else %> <% end %> <% end %> <% if type == :scheduled %> <% end %>
<%= 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) %>
<%= t('Extras') %> <%= retry_extra_items(job).inspect %>
<%= 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'])) %>
<%= t('OriginallyFailed') %> <%= relative_time(job['failed_at'].is_a?(Numeric) ? Time.at(job['failed_at']) : Time.parse(job['failed_at'])) %>
<%= t('NextRetry') %> <%= relative_time(job.at) %>
<%= t('Scheduled') %> <%= relative_time(job.at) %>