From c5508fe9bea0d8279e1a29a810266d231a6b6093 Mon Sep 17 00:00:00 2001 From: gerlofvanek Date: Thu, 28 Nov 2024 12:11:53 +0100 Subject: [PATCH] Default set rate variable to false and amount variable to true. --- basicswap/templates/offer_new_1.html | 85 ++++++++++++++++++++-------- basicswap/ui/page_offers.py | 14 +++-- 2 files changed, 71 insertions(+), 28 deletions(-) diff --git a/basicswap/templates/offer_new_1.html b/basicswap/templates/offer_new_1.html index 6758519..0ca0380 100644 --- a/basicswap/templates/offer_new_1.html +++ b/basicswap/templates/offer_new_1.html @@ -248,31 +248,68 @@ -
-
-
-
-

Options

-
-
-
-
-
- -

Allow bids with a different amount to the offer.

-
-
-
-
-
- -

Allow bids with a different rate to the offer.

-
-
-
-
-
+ +{% if debug_mode == true %} +
+
+
+
+

Options

+
+
+
+
+
+
+ +

Allow bids with a different amount to the offer.

+
+
+
+
+ +
+
+ +

Allow bids with a different rate to the offer.

+
+
+
+
+
+
+{% else %} +
+
+
+
+

Options

+
+
+
+
+ +
+
+ +

Allow bids with a different amount to the offer.

+
+
+
+
+ +
+
+ +

Allow bids with a different rate to the offer.

+
+
+
+
+
+
+{% endif %}