From 4711e81ffc9076dc9db2cc24c0653b8f740563b5 Mon Sep 17 00:00:00 2001 From: tecnovert Date: Sun, 3 Jan 2021 20:27:07 +0200 Subject: [PATCH] Switch coin display order for sent bids. --- basicswap/templates/bid.html | 4 ++++ basicswap/templates/bid_xmr.html | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/basicswap/templates/bid.html b/basicswap/templates/bid.html index ca69482..727feed 100644 --- a/basicswap/templates/bid.html +++ b/basicswap/templates/bid.html @@ -10,7 +10,11 @@ {% endfor %} +{% if data.was_sent == 'True' %} + +{% else %} +{% endif %} diff --git a/basicswap/templates/bid_xmr.html b/basicswap/templates/bid_xmr.html index 2471838..b09241a 100644 --- a/basicswap/templates/bid_xmr.html +++ b/basicswap/templates/bid_xmr.html @@ -10,7 +10,11 @@ {% endfor %}
Swap{{ data.amt_to }} {{ data.ticker_to }} for {{ data.amt_from }} {{ data.ticker_from }}
Swap{{ data.amt_from }} {{ data.ticker_from }} for {{ data.amt_to }} {{ data.ticker_to }}
Bid State{{ data.bid_state }}
StateDescription {{ data.state_description }}
ITX State{{ data.itx_state }}
+{% if data.was_sent == 'True' %} + +{% else %} +{% endif %}
Swap{{ data.amt_to }} {{ data.ticker_to }} for {{ data.amt_from }} {{ data.ticker_from }}
Swap{{ data.amt_from }} {{ data.ticker_from }} for {{ data.amt_to }} {{ data.ticker_to }}
Bid State{{ data.bid_state }}
StateDescription {{ data.state_description }}
Offer{{ data.offer_id }}