app/views/bulkrax/exporters/show.html.erb in bulkrax-3.0.0.beta4 vs app/views/bulkrax/exporters/show.html.erb in bulkrax-3.0.0.beta5
- old
+ new
@@ -77,17 +77,16 @@
<p class='bulkrax-p-align'>
<strong><%= t('bulkrax.exporter.labels.total_work_entries') %>:</strong>
<%= @exporter.exporter_runs.last&.total_work_entries %>
</p>
<br>
- <div class="bulkrax-nav-tab-table-left-align">
+ <div class='bulkrax-nav-tab-table-left-align'>
<h2>Entries</h2>
<table class='table table-striped'>
<thead>
<tr>
<th>Identifier</th>
- <th>Collection</th>
<th>Entry ID</th>
<th>Status</th>
<th>Errors</th>
<th>Status Set At</th>
<th>Actions</th>
@@ -95,20 +94,15 @@
</thead>
<tbody>
<% @work_entries.each do |e| %>
<tr>
<td><%= link_to e.identifier, bulkrax.exporter_entry_path(@exporter.id, e.id) %></td>
- <% if e.parsed_metadata.present? && e.parsed_metadata.dig('collections').present? %>
- <td><%= e.parsed_metadata.dig('collections').map {|c| c['id'] }.join('; ') %></td>
- <% elsif e.raw_metadata.present? %>
- <td><%= Array.wrap(e.raw_metadata.dig('collection')).join(';') %></td>
- <% else %>
- <td></td>
- <% end %>
<td><%= e.id %></td>
<% if e.status == 'Complete' %>
<td><span class='glyphicon glyphicon-ok' style='color: green;'></span> <%= e.status %></td>
- <% else %>
+ <% elsif e.status == 'Pending' %>
+ <td><span class='glyphicon glyphicon-option-horizontal' style='color: blue;'></span> <%= e.status %></td>
+ <% else %>
<td><span class='glyphicon glyphicon-remove' style='color: red;'></span> <%= e.status %></td>
<% end %>
<% if e.last_error.present? %>
<td><%= link_to e.last_error.dig('error_class'), bulkrax.exporter_entry_path(@exporter.id, e.id) %></td>
<% else %>