Add "delivery done" label
This commit is contained in:
parent
3aa77685fc
commit
7c58944449
|
@ -432,6 +432,7 @@ class Post extends BaseObject
|
||||||
'delivery_pending' => L10n::t('Delivery to remote servers is pending'),
|
'delivery_pending' => L10n::t('Delivery to remote servers is pending'),
|
||||||
'delivery_underway' => L10n::t('Delivery to remote servers is underway'),
|
'delivery_underway' => L10n::t('Delivery to remote servers is underway'),
|
||||||
'delivery_almost' => L10n::t('Delivery to remote servers is mostly done'),
|
'delivery_almost' => L10n::t('Delivery to remote servers is mostly done'),
|
||||||
|
'delivery_done' => L10n::t('Delivery to remote servers is done'),
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -11,8 +11,10 @@
|
||||||
{{$delivery.delivery_pending}} {{$item.delivery.queue_done}}/{{$item.delivery.queue_count}}
|
{{$delivery.delivery_pending}} {{$item.delivery.queue_done}}/{{$item.delivery.queue_count}}
|
||||||
{{elseif $delivery.queue_done / $delivery.queue_count < 0.75}}
|
{{elseif $delivery.queue_done / $delivery.queue_count < 0.75}}
|
||||||
{{$delivery.delivery_underway}} {{$item.delivery.queue_done}}/{{$item.delivery.queue_count}}
|
{{$delivery.delivery_underway}} {{$item.delivery.queue_done}}/{{$item.delivery.queue_count}}
|
||||||
{{else}}
|
{{elseif $delivery.queue_done < $delivery.queue_count}}
|
||||||
{{$delivery.delivery_almost}} {{$item.delivery.queue_done}}/{{$item.delivery.queue_count}}
|
{{$delivery.delivery_almost}} {{$item.delivery.queue_done}}/{{$item.delivery.queue_count}}
|
||||||
|
{{else}}
|
||||||
|
{{$delivery.delivery_done}} {{$item.delivery.queue_done}}/{{$item.delivery.queue_count}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</span>
|
</span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -10,9 +10,12 @@
|
||||||
{{elseif $delivery.queue_done / $delivery.queue_count < 0.75}}
|
{{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>
|
<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>
|
<span class="sr-only">{{$delivery.delivery_underway}}</span>
|
||||||
{{else}}
|
{{elseif $delivery.queue_done < $delivery.queue_count}}
|
||||||
<i class="fa fa-paper-plane" aria-hidden="true" title="{{$delivery.delivery_almost}} {{$item.delivery.queue_done}}/{{$item.delivery.queue_count}}"></i>
|
<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>
|
<span class="sr-only">{{$delivery.delivery_almost}}</span>
|
||||||
|
{{else}}
|
||||||
|
<i class="fa fa-paper-plane" aria-hidden="true" title="{{$delivery.delivery_done}} {{$item.delivery.queue_done}}/{{$item.delivery.queue_count}}"></i>
|
||||||
|
<span class="sr-only">{{$delivery.delivery_done}}</span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</span>
|
</span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
Loading…
Reference in a new issue