Browse Source

replace paper plane for finished transfers

show check mark to visualize the "finished" status
closing #7527
pull/7529/head
Vinzenz Vietzke 1 month ago
parent
commit
5582c4dea3
1 changed files with 21 additions and 21 deletions
  1. 21
    21
      view/theme/frio/templates/sub/delivery_count.tpl

+ 21
- 21
view/theme/frio/templates/sub/delivery_count.tpl View File

@@ -1,21 +1,21 @@
1
-{{if $delivery.queue_count >= -1 && $delivery.queue_count !== '' && $delivery.queue_count !== null}}
2
-<span class="delivery">
3
-	&bull;
4
-	{{if $delivery.queue_count == 0}}
5
-		<i class="fa fa-hourglass-o" aria-hidden="true" title="{{$delivery.notifier_pending}}"></i>
6
-		<span class="sr-only">{{$delivery.notifier_pending}}</span>
7
-	{{elseif $delivery.queue_done == 0}}
8
-		<i class="fa fa-hourglass" aria-hidden="true" title="{{$delivery.delivery_pending}} {{$item.delivery.queue_done}}/{{$item.delivery.queue_count}}"></i>
9
-		<span class="sr-only">{{$delivery.delivery_pending}}</span>
10
-	{{elseif $delivery.queue_done / $delivery.queue_count < 0.75}}
11
-		<i class="fa fa-paper-plane-o" aria-hidden="true" title="{{$delivery.delivery_underway}} {{$item.delivery.queue_done}}/{{$item.delivery.queue_count}}"></i>
12
-		<span class="sr-only">{{$delivery.delivery_underway}}</span>
13
-	{{elseif $delivery.queue_done < $delivery.queue_count}}
14
-		<i class="fa fa-paper-plane" aria-hidden="true" title="{{$delivery.delivery_almost}} {{$item.delivery.queue_done}}/{{$item.delivery.queue_count}}"></i>
15
-		<span class="sr-only">{{$delivery.delivery_almost}}</span>
16
-	{{else}}
17
-		<i class="fa fa-paper-plane" aria-hidden="true" title="{{$delivery.delivery_done}} {{$item.delivery.queue_done}}/{{$item.delivery.queue_count}}"></i>
18
-		<span class="sr-only">{{$delivery.delivery_done}}</span>
19
-	{{/if}}
20
-</span>
21
-{{/if}}
1
+{{if $delivery.queue_count >= -1 && $delivery.queue_count !== '' && $delivery.queue_count !== null}}
2
+<span class="delivery">
3
+	&bull;
4
+	{{if $delivery.queue_count == 0}}
5
+		<i class="fa fa-hourglass-o" aria-hidden="true" title="{{$delivery.notifier_pending}}"></i>
6
+		<span class="sr-only">{{$delivery.notifier_pending}}</span>
7
+	{{elseif $delivery.queue_done == 0}}
8
+		<i class="fa fa-hourglass" aria-hidden="true" title="{{$delivery.delivery_pending}} {{$item.delivery.queue_done}}/{{$item.delivery.queue_count}}"></i>
9
+		<span class="sr-only">{{$delivery.delivery_pending}}</span>
10
+	{{elseif $delivery.queue_done / $delivery.queue_count < 0.75}}
11
+		<i class="fa fa-paper-plane-o" aria-hidden="true" title="{{$delivery.delivery_underway}} {{$item.delivery.queue_done}}/{{$item.delivery.queue_count}}"></i>
12
+		<span class="sr-only">{{$delivery.delivery_underway}}</span>
13
+	{{elseif $delivery.queue_done < $delivery.queue_count}}
14
+		<i class="fa fa-paper-plane" aria-hidden="true" title="{{$delivery.delivery_almost}} {{$item.delivery.queue_done}}/{{$item.delivery.queue_count}}"></i>
15
+		<span class="sr-only">{{$delivery.delivery_almost}}</span>
16
+	{{else}}
17
+		<i class="fa fa-check" aria-hidden="true" title="{{$delivery.delivery_done}} {{$item.delivery.queue_done}}/{{$item.delivery.queue_count}}"></i>
18
+		<span class="sr-only">{{$delivery.delivery_done}}</span>
19
+	{{/if}}
20
+</span>
21
+{{/if}}

Loading…
Cancel
Save