feat: Add red warning on auction page for potential outbids

This commit is contained in:
2025-07-11 13:26:14 +10:00
parent 7dda41bda7
commit b2db24c08e
5 changed files with 15 additions and 9 deletions

View File

@@ -330,7 +330,14 @@ def auctions():
sort_domain = direction
sort_domain_next = reverseDirection(direction)
bidsHtml = render.bidDomains(bids,domains,sortbyDomain)
# Check if outbids set to true
outbids = request.args.get("outbids")
if outbids is not None and outbids.lower() == "true":
# Get outbid domains
outbids = account_module.getPossibleOutbids(account)
bidsHtml = render.bidDomains(bids,domains,sortbyDomain,outbids)
plugins = ""
message = ''
if 'message' in request.args: