mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-06 02:38:11 +01:00
ui: Fix
This commit is contained in:
@@ -230,9 +230,7 @@ def js_offers(self, url_split, post_string, is_json, sent=False) -> bytes:
|
|||||||
'rate': ci_to.format_amount(o.rate),
|
'rate': ci_to.format_amount(o.rate),
|
||||||
'min_bid_amount': ci_from.format_amount(o.min_bid_amount),
|
'min_bid_amount': ci_from.format_amount(o.min_bid_amount),
|
||||||
'is_expired': o.expire_at <= swap_client.getTime(),
|
'is_expired': o.expire_at <= swap_client.getTime(),
|
||||||
'is_own_offer': o.was_sent,
|
'is_own_offer': o.was_sent
|
||||||
'amount_variable': o.amount_negotiable,
|
|
||||||
'rate_variable': o.rate_negotiable
|
|
||||||
}
|
}
|
||||||
if with_extra_info:
|
if with_extra_info:
|
||||||
offer_data['amount_negotiable'] = o.amount_negotiable
|
offer_data['amount_negotiable'] = o.amount_negotiable
|
||||||
|
|||||||
@@ -1220,7 +1220,6 @@ function createDetailsColumn(offer) {
|
|||||||
<a data-tooltip-target="tooltip-recipient${escapeHtml(offer.offer_id)}" href="/identity/${escapeHtml(addrFrom)}">
|
<a data-tooltip-target="tooltip-recipient${escapeHtml(offer.offer_id)}" href="/identity/${escapeHtml(addrFrom)}">
|
||||||
<span class="bold">Recipient:</span> ${escapeHtml(addrFrom.substring(0, 10))}...
|
<span class="bold">Recipient:</span> ${escapeHtml(addrFrom.substring(0, 10))}...
|
||||||
</a>
|
</a>
|
||||||
<div class="partial hidden"><span class="bold">Amount Variable:</span> ${amountVariable ? 'Yes' : 'No'}</div>
|
|
||||||
</td>
|
</td>
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user