feat: Add HIP2 Display toggle
All checks were successful
Build Docker / Build Main Image (push) Successful in 19s
Build Docker / Build SLDs Image (push) Successful in 20s

This commit is contained in:
2023-11-18 18:36:18 +11:00
parent 743a8d6916
commit 3e9ff9d916
3 changed files with 27 additions and 5 deletions

View File

@@ -41,6 +41,11 @@ def render(data,db_object):
location = db_object['location']
email = db_object['email']
hns = db_object['HNS']
if 'hip2_display' in db_object:
if db_object['hip2_display'] == True:
hns = "@"+request.host
btc = db_object['BTC']
eth = db_object['ETH']
bg_colour = db_object['bg_colour']