Update Formatting of Satoshi Amount (No decimal places)

This commit is contained in:
Joel Klabo 2023-01-09 08:44:18 -08:00
parent 1873740294
commit 679b371eb8

View file

@ -37,9 +37,15 @@ context %} {% block page %}
</p> </p>
<p> <p>
The current price is The current price is
{% if domain.currency != "Satoshis" %}
<b <b
>{{ "{:0,.2f}".format(domain.amount / 100) }} {{ domain.currency }}</b >{{ "{:0,.2f}".format(domain.amount / 100) }} {{ domain.currency }}</b
> >
{% else %}
<b
>{{ "{}".format(domain.amount) }} {{ domain.currency }}</b
>
{% endif %}
for an account (if you do not own the domain, the service provider can for an account (if you do not own the domain, the service provider can
disable at any time). disable at any time).
</p> </p>