2019-01-23 00:05:53 -05:00
|
|
|
{{if $delivery.queue_count >= -1 && $delivery.queue_count !== '' && $delivery.queue_count !== null}}
|
|
|
|
<span class="delivery">
|
2019-01-26 19:42:13 -05:00
|
|
|
•
|
2019-01-23 00:05:53 -05:00
|
|
|
{{if $delivery.queue_count == 0}}
|
|
|
|
<i class="fa fa-hourglass-o" aria-hidden="true" title="{{$delivery.notifier_pending}}"></i>
|
|
|
|
<span class="sr-only">{{$delivery.notifier_pending}}</span>
|
|
|
|
{{elseif $delivery.queue_done == 0}}
|
|
|
|
<i class="fa fa-hourglass" aria-hidden="true" title="{{$delivery.delivery_pending}} {{$item.delivery.queue_done}}/{{$item.delivery.queue_count}}"></i>
|
|
|
|
<span class="sr-only">{{$delivery.delivery_pending}}</span>
|
|
|
|
{{elseif $delivery.queue_done / $delivery.queue_count < 0.75}}
|
|
|
|
<i class="fa fa-paper-plane-o" aria-hidden="true" title="{{$delivery.delivery_underway}} {{$item.delivery.queue_done}}/{{$item.delivery.queue_count}}"></i>
|
|
|
|
<span class="sr-only">{{$delivery.delivery_underway}}</span>
|
|
|
|
{{else}}
|
|
|
|
<i class="fa fa-paper-plane" aria-hidden="true" title="{{$delivery.delivery_almost}} {{$item.delivery.queue_done}}/{{$item.delivery.queue_count}}"></i>
|
|
|
|
<span class="sr-only">{{$delivery.delivery_almost}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</span>
|
2018-12-07 00:54:40 -05:00
|
|
|
{{/if}}
|