mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-09 16:01:24 -04:00
Previously the structure was ``` dashboard.html |_ today.html |_ some random html |_ a few things split into partials ``` This commit simplifies the structure to just be: ``` dashboard.html |_ partial |_ partial |_ … ```
24 lines
638 B
HTML
24 lines
638 B
HTML
{% from "components/big-number.html" import big_number %}
|
|
|
|
<div class='grid-row'>
|
|
<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(
|
|
(sms_chargeable * sms_rate),
|
|
'spent on text messages',
|
|
currency="£",
|
|
smaller=True
|
|
) }}
|
|
{% else %}
|
|
{{ big_number(sms_allowance_remaining, 'free text messages left', smaller=True) }}
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</div>
|