Add delivery queue display in frio and vier
- Add new $item.owner_self and $item.delivery keys for display - Add new sub/delivery_count.tpl template
This commit is contained in:
parent
1696ad962e
commit
6538a8eaca
6 changed files with 64 additions and 6 deletions
13
view/templates/sub/delivery_count.tpl
Normal file
13
view/templates/sub/delivery_count.tpl
Normal file
|
@ -0,0 +1,13 @@
|
|||
{{*
|
||||
Please don't use this template as is, this is a placeholder that needs to be
|
||||
overriden with specific icons to avoid taking too much visual space
|
||||
*}}
|
||||
{{if $delivery.queue_count == 0}}
|
||||
{{$delivery.notifier_pending|escape}}
|
||||
{{elseif $delivery.queue_done == 0}}
|
||||
{{$delivery.delivery_pending|escape}} {{$item.delivery.queue_done}}/{{$item.delivery.queue_count}}
|
||||
{{elseif $delivery.queue_done / $delivery.queue_count < 0.75}}
|
||||
{{$delivery.delivery_underway|escape}} {{$item.delivery.queue_done}}/{{$item.delivery.queue_count}}
|
||||
{{else}}
|
||||
{{$delivery.delivery_almost|escape}} {{$item.delivery.queue_done}}/{{$item.delivery.queue_count}}
|
||||
{{/if}}
|
Loading…
Add table
Add a link
Reference in a new issue