app/views/bulkrax/importers/show.html.erb in bulkrax-3.0.0.beta4 vs app/views/bulkrax/importers/show.html.erb in bulkrax-3.0.0.beta5
- old
+ new
@@ -83,11 +83,10 @@
<div role="tabpanel" class="tab-pane active bulkrax-nav-tab-table-left-align" id="work-entries">
<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,12 +94,10 @@
</thead>
<tbody>
<% @work_entries.each do |e| %>
<tr>
<td><%= link_to e.identifier, bulkrax.importer_entry_path(@importer.id, e.id) %></td>
- <% collection_titles = e.collection_ids.map {|id| c = Collection.find id; c.title.first } %>
- <td><%= collection_titles.join('; ') %></td>
<td><%= e.id %></td>
<% if e.status == "Complete" %>
<td><span class="glyphicon glyphicon-ok" style="color: green;"></span> <%= e.status %></td>
<% elsif e.status == "Pending" %>
<td><span class="glyphicon glyphicon-option-horizontal" style="color: blue;"></span> <%= e.status %></td>
@@ -176,9 +173,11 @@
<tr>
<td><%= link_to e.identifier, bulkrax.importer_entry_path(@importer.id, e.id) %></td>
<td><%= e.id %></td>
<% if e.status == "Complete" %>
<td><span class="glyphicon glyphicon-ok" style="color: green;"></span> <%= e.status %></td>
+ <% 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.importer_entry_path(@importer.id, e.id) %></td>