Update Formatting of Satoshi Amount (No decimal places)
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user