%= page_title 'Job details' %> <% content_for(:sidebar) do %> <%= render 'spotlight/shared/exhibit_sidebar' %> <% end %>
<%= t(:".summary.#{@job_tracker.status}", default: '', last_updated: time_ago_in_words(@job_tracker.updated_at, include_seconds: true), created_at: time_ago_in_words(@job_tracker.updated_at, include_seconds: true), duration: distance_of_time_in_words(@job_tracker.created_at, @job_tracker.updated_at)) %>
<%= t('.headers.message') %> | <%= t('.headers.details') %> | <% row_number = 0 %>|
---|---|---|
<%= row_number += 1 %> | <%= t('.messages.started') %> | <%= l @job_tracker.updated_at, format: :long %> |
<%= row_number += 1 %> | <%= t('.messages.created_by', user: @job_tracker.user.email) %> | |
<%= row_number += 1 %> | <%= e.data[:message] %> | <%= JSON.pretty_generate(e.data.except(:message)) %> |
<%= row_number += 1 %> | <%= e.data[:message] %> | <%= JSON.pretty_generate(e.data.except(:message)) %> |
<%= row_number += 1 %> | <%= t('.messages.progress', progress: @job_tracker.progress, total: @job_tracker.total, errors: (t('.messages.errors', count: error_count) if error_count.positive?)) %> | |
<%= row_number += 1 %> | <%= t(@job_tracker.status, scope: 'spotlight.job_trackers.show.messages.status', default: :'spotlight.job_trackers.show.messages.status.missing') %> | <%= l @job_tracker.updated_at, format: :long %> |