Files
notifications-admin/app/templates/partials/jobs/count-letters.html
Chris Hill-Scott 7881753193 Replace blue boxes with total + delivery estimate
The sending/failed/delivered thing:
- doesn’t map to the actual states of letters
- doesn’t respond quickly enough to give you feedback that something is
  happening (because "sending" doesn’t even go to "probably delivered"
  for a few days)

This commit replaces these 4 boxes with some more useful information:
- one number – how many letters were in the job in total
- when we estimate that the letters will be delivered
2017-07-18 11:00:08 +01:00

24 lines
617 B
HTML

{% from 'components/big-number.html' import big_number %}
{% from 'components/message-count-label.html' import message_count_label %}
<div class="grid-row bottom-gutter-2-3">
<div class="column-half">
<div class="keyline-block">
{{ big_number(
total,
message_count_label(total, 'letter', suffix='')|capitalize,
smaller=True
)}}
</div>
</div>
<div class="column-half">
<div class="keyline-block">
{{ big_number(
delivery_estimate|string|format_date_short,
'Estimated delivery date',
smaller=True
)}}
</div>
</div>
</div>