Skip to content

Commit

Permalink
Merge pull request #484 from samvera-labs/pending-icon-part-3
Browse files Browse the repository at this point in the history
3rd attempt to push branch for pending icon
  • Loading branch information
selamhabteab authored Apr 21, 2022
2 parents 4a1d9c1 + eaa0f2c commit 76f3086
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/views/bulkrax/exporters/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
<%= @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>
Expand All @@ -99,7 +99,9 @@
<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? %>
Expand Down
2 changes: 2 additions & 0 deletions app/views/bulkrax/importers/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@
<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 %>
Expand Down

0 comments on commit 76f3086

Please sign in to comment.