2017-05-22 17:02:03 +01:00
|
|
|
{% from "components/big-number.html" import big_number, big_number_with_status %}
|
|
|
|
|
|
|
|
|
|
<div class="ajax-block">
|
2017-06-05 14:48:24 +01:00
|
|
|
{% if inbound_sms_summary != None %}
|
2018-05-16 12:31:54 +01:00
|
|
|
<div id="total-received" class="big-number-meta-wrapper">
|
2017-06-05 14:48:24 +01:00
|
|
|
{{
|
|
|
|
|
big_number_with_status(
|
|
|
|
|
inbound_sms_summary.count,
|
|
|
|
|
'text messages received',
|
|
|
|
|
link=url_for('.inbox', service_id=current_service.id),
|
|
|
|
|
show_failures=False
|
|
|
|
|
)
|
|
|
|
|
}}
|
|
|
|
|
<div class="big-number-meta">
|
2017-06-06 12:44:59 +01:00
|
|
|
{% if inbound_sms_summary.most_recent %}
|
|
|
|
|
latest message {{ inbound_sms_summary.most_recent | format_delta }}
|
2017-06-05 14:48:24 +01:00
|
|
|
{% endif %}
|
|
|
|
|
</div>
|
2017-05-22 17:02:03 +01:00
|
|
|
</div>
|
2017-06-05 14:48:24 +01:00
|
|
|
{% endif %}
|
2017-05-22 17:02:03 +01:00
|
|
|
</div>
|