app/views/bulkrax/importers/show.html.erb in bulkrax-3.1.2 vs app/views/bulkrax/importers/show.html.erb in bulkrax-3.2.0

- old
+ new

@@ -176,10 +176,10 @@ <% 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> + <td><span class="glyphicon glyphicon-remove" style="color: <%= e.status == 'Deleted' ? 'green' : '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> <% else %> <td></td>