app/views/spree/admin/uploads/show.html.erb
<% content_for :page_title do %>Upload <%= @upload.job_id %><% end %>
<strong>Date:</strong> <%= l(@upload.created_at) %>
<br>
<strong>Status:</strong> <%= @upload.status.humanize %>
<br>
<strong>Progress:</strong> <%= @upload.processed %>/<%= @upload.total %>
<br>
<div data-hook="admin_upload_fields"></div>
<hr>
<h3>Metadata</h3>
<% @upload.metadata.each do |k, v| %>
<strong><%= k %>: </strong> <%= v %>
<br>
<% end %>
<% if @upload.upload_errors.any? %>
<h3>Errors</h3>
<table class="table" id="listing_errors" data-hook>
<colgroup>
<col style="width: 40%">
<col style="width: 35%">
<col style="width: 10%">
<col style="width: 15%">
</colgroup>
<thead>
<tr data-hook="admin_errors_index_headers">
<th>Error Messages</th>
</tr>
</thead>
<tbody>
<% @upload.upload_errors.each do |error| %>
<tr data-hook="admin_uploads_index_rows" class="<%= cycle('odd', 'even') %>">
<td><%= error.message %></td>
</tr>
<% end %>
</tbody>
</table>
<% end%>