Skip to content

Commit

Permalink
Swap order of testing for problems in the processing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mhucka committed May 26, 2021
1 parent ff76104 commit e120c80
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dibs/templates/list.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,14 @@
onChange="this.form.submit()"
{{'checked="checked"' if item.ready else ''}}/>
</form>
% elif initiated or processing:
<i title="Item is being processed."
style="filter:drop-shadow(2px 2px 2px #eee); font-size: larger"
class="fas fa-hourglass-half text-secondary"></i>
% elif problem_exists:
<i title="A problem occurred with image processing. DLD has been notified."
style="filter:drop-shadow(2px 2px 2px #eee); font-size: larger"
class="fas fa-exclamation-circle text-danger"></i>
% elif initiated or processing:
<i title="Item is being processed."
style="filter:drop-shadow(2px 2px 2px #eee); font-size: larger"
class="fas fa-hourglass-half text-secondary"></i>
% else:
<form action="{{base_url}}/start-processing" method="POST">
<input type="hidden" name="barcode" value="{{item.barcode}}"/>
Expand Down

0 comments on commit e120c80

Please sign in to comment.