mirror of
https://github.com/lnbits/lnbits.git
synced 2025-04-03 17:38:16 +02:00
Update Formatting of Satoshi Amount (No decimal places)
This commit is contained in:
parent
1873740294
commit
679b371eb8
@ -37,9 +37,15 @@ context %} {% block page %}
|
||||
</p>
|
||||
<p>
|
||||
The current price is
|
||||
{% if domain.currency != "Satoshis" %}
|
||||
<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
|
||||
disable at any time).
|
||||
</p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user