update: GUI version 2.0.1 (Chart + USD prices) and UI fixes.

This commit is contained in:
gerlofvanek committed 2023-04-11 22:01:06 +02:00
1 parent 81e7825b51
commit 0041fb4a3c
7 files changed
+418 -97

No files matched your search

+3 -1
View File
@@ -691,6 +691,7 @@ def page_offers(self, url_split, post_string, sent=False):
ci_from = swap_client.ci(Coins(o.coin_from))
ci_to = swap_client.ci(Coins(o.coin_to))
is_expired = o.expire_at <= now
amount_negotiable = "Yes" if o.amount_negotiable else "No"
formatted_offers.append((
format_timestamp(o.created_at),
o.offer_id.hex(),
@@ -705,7 +706,8 @@ def page_offers(self, url_split, post_string, sent=False):
ci_from.format_amount(completed_amount),
is_expired,
o.active_ind,
strSwapDesc(o.swap_type)))
strSwapDesc(o.swap_type),
amount_negotiable))
coins_from, coins_to = listAvailableCoins(swap_client, split_from=True)