remove big_number from _usage.html

This commit is contained in:
stvnrlly
2023-12-17 15:57:38 -05:00
parent 1b610030fe
commit 845776326e

View File

@@ -1,5 +1,3 @@
{% from "components/big-number.html" import big_number %}
<div class='grid-row grid-gap ajax-block-container'>
<div class='grid-col-12'>
@@ -15,17 +13,21 @@
</thead>
<tbody>
<tr>
<td>{{ big_number(sms_sent, smaller=True) }}</td>
<td><span class="big-number-smaller big-number-number">{{ "{:,}".format(sms_sent) }}</span>}</td>
<td>
{% if sms_cost %}
{{ big_number(
sms_cost,
'spent on text messages',
currency="$",
smaller=True
) }}
<span class="big-number-smaller">
<span class="big-number-number">
{{ "{}{:,.2f}".format('$', sms_cost) }}
</span>
<span class="big-number-label">'spent on text messages'</span>
</span>
{% else %}
{{ big_number(sms_allowance_remaining, smaller=True) }}
<span class="big-number-smaller">
<span class="big-number-number">
{{ "{:,}".format(sms_allowance_remaining) }}
</span>
</span>
{% endif %}
</td>
</tr>