From 5e5bf311564d5b09abb3fbbeeb41c1537ebe2393 Mon Sep 17 00:00:00 2001 From: tecnovert Date: Wed, 20 Jan 2021 01:28:29 +0200 Subject: [PATCH] Don't describe state for xmr style swaps. --- basicswap/templates/offer.html | 11 +++- basicswap/ui.py | 57 ++++++++++--------- .../basicswap/extended/test_xmr_persistent.py | 15 +++-- 3 files changed, 48 insertions(+), 35 deletions(-) diff --git a/basicswap/templates/offer.html b/basicswap/templates/offer.html index 9efbe74..cb8a967 100644 --- a/basicswap/templates/offer.html +++ b/basicswap/templates/offer.html @@ -37,12 +37,17 @@ {% endif %} - -
{% if data.show_bid_form %}

New Bid

-

You will send {{ data.amt_to }} {{ data.tla_to }} and receive {{ data.amt_from }} {{ data.tla_from }} (excluding {{ data.amt_from_lock_spend_tx_fee }} {{ data.tla_from }} in tx fees).

+

You will send {{ data.amt_to }} {{ data.tla_to }} and receive {{ data.amt_from }} {{ data.tla_from }} +{% if data.xmr_type == true %} + (excluding {{ data.amt_from_lock_spend_tx_fee }} {{ data.tla_from }} in tx fees). +{% else %} + (excluding a tx fee). +{% endif %} +

+
Send From Address