mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-20 10:24:39 -05:00
- Used on dashboard to calculate free tier/cost - Update tests to mock new method - Two new tests to check output on dashboard page
24 lines
646 B
HTML
24 lines
646 B
HTML
{% from "components/big-number.html" import big_number %}
|
|
|
|
<div class='grid-row ajax-block-container'>
|
|
<div class='column-half'>
|
|
<div class="keyline-block">
|
|
{{ big_number("Unlimited", 'free email allowance', smaller=True) }}
|
|
</div>
|
|
</div>
|
|
<div class='column-half'>
|
|
<div class="keyline-block">
|
|
{% if sms_chargeable %}
|
|
{{ big_number(
|
|
total_sms_cost,
|
|
'spent on text messages',
|
|
currency="£",
|
|
smaller=True
|
|
) }}
|
|
{% else %}
|
|
{{ big_number(sms_allowance_remaining, 'free text messages left', smaller=True) }}
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</div>
|