From 679b371eb8da56f797eb2a4b2c4e7b1cd2c617a0 Mon Sep 17 00:00:00 2001 From: Joel Klabo Date: Mon, 9 Jan 2023 08:44:18 -0800 Subject: [PATCH] Update Formatting of Satoshi Amount (No decimal places) --- lnbits/extensions/nostrnip5/templates/nostrnip5/signup.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lnbits/extensions/nostrnip5/templates/nostrnip5/signup.html b/lnbits/extensions/nostrnip5/templates/nostrnip5/signup.html index c78639e0b..5124dcd4d 100644 --- a/lnbits/extensions/nostrnip5/templates/nostrnip5/signup.html +++ b/lnbits/extensions/nostrnip5/templates/nostrnip5/signup.html @@ -37,9 +37,15 @@ context %} {% block page %}

The current price is + {% if domain.currency != "Satoshis" %} {{ "{:0,.2f}".format(domain.amount / 100) }} {{ domain.currency }} + {% else %} + {{ "{}".format(domain.amount) }} {{ domain.currency }} + {% endif %} for an account (if you do not own the domain, the service provider can disable at any time).