diff --git a/basicswap/templates/offer.html b/basicswap/templates/offer.html index fca5910..0d1be2d 100644 --- a/basicswap/templates/offer.html +++ b/basicswap/templates/offer.html @@ -137,7 +137,7 @@ {{ data.amt_to }} {{ data.tla_to }} - Minimum Bid Amount + Minimum Purchase {{ data.amt_bid_min }} {{ data.tla_from }} diff --git a/basicswap/templates/offer_confirm.html b/basicswap/templates/offer_confirm.html index 7adf3e3..c9c941c 100644 --- a/basicswap/templates/offer_confirm.html +++ b/basicswap/templates/offer_confirm.html @@ -293,7 +293,7 @@
-

Minimum Bid Amount

+

Minimum Purchase

{{ select_bid_amount_svg | safe }} diff --git a/basicswap/templates/offer_new_1.html b/basicswap/templates/offer_new_1.html index 27833a4..0165b0a 100644 --- a/basicswap/templates/offer_new_1.html +++ b/basicswap/templates/offer_new_1.html @@ -274,7 +274,7 @@ if (document.readyState === 'loading') {
-

Minimum Bid Amount

+

Minimum Purchase

{{ select_bid_amount_svg | safe }} diff --git a/basicswap/templates/offer_new_2.html b/basicswap/templates/offer_new_2.html index 383da82..73169d3 100644 --- a/basicswap/templates/offer_new_2.html +++ b/basicswap/templates/offer_new_2.html @@ -279,7 +279,7 @@
-

Minimum Bid Amount

+

Minimum Purchase

{{ select_bid_amount_svg | safe }} diff --git a/basicswap/ui/page_offers.py b/basicswap/ui/page_offers.py index 9f76e41..59e6a6d 100644 --- a/basicswap/ui/page_offers.py +++ b/basicswap/ui/page_offers.py @@ -131,9 +131,9 @@ def parseOfferFormData(swap_client, form_data, page_data, options={}): parsed_data["amt_bid_min"] < 0 or parsed_data["amt_bid_min"] > parsed_data["amt_from"] ): - errors.append("Minimum Bid Amount out of range") + errors.append("Minimum Purchase Quantity out of range") except Exception: - errors.append("Minimum Bid Amount") + errors.append("Minimum Purchase Quantity") if have_data_entry(form_data, "rate") and not have_data_entry(form_data, "amt_to"): parsed_data["rate"] = ci_to.make_int(form_data["rate"], r=1) diff --git a/scripts/createoffers.py b/scripts/createoffers.py index 0859e3a..ac7bc33 100755 --- a/scripts/createoffers.py +++ b/scripts/createoffers.py @@ -31,7 +31,7 @@ Create offers # Optional "enabled": Set to false to ignore offer template. "swap_type": Type of swap, defaults to "adaptor_sig" - "min_swap_amount": Sets "amt_bid_min" on the offer, minimum valid bid when offer amount is variable. + "min_swap_amount": Sets "amt_bid_min" on the offer, minimum purchase quantity when offer amount is variable. "amount_step": If set offers will be created for amount values between "amount" and "min_coin_from_amt" in decrements of "amount_step". }, ...