diff --git a/sites/website.py b/sites/website.py index 37e08e0..cc5d579 100644 --- a/sites/website.py +++ b/sites/website.py @@ -29,6 +29,13 @@ def render(data,db_object): hns = db_object['HNS'] btc = db_object['BTC'] eth = db_object['ETH'] + if hns != "": + hns = "HNS: " + hns + if btc != "": + btc = "BTC: " + btc + if eth != "": + eth = "ETH: " + eth + bg_colour = db_object['bg_colour'] fg_colour = db_object['fg_colour'] text_colour = db_object['text_colour'] diff --git a/templates/city.html b/templates/city.html index 6911ce8..4467967 100644 --- a/templates/city.html +++ b/templates/city.html @@ -31,13 +31,13 @@
HNS: {{hns}}
+{{hns}}
BTC: {{btc}}
+{{btc}}
ETH: {{eth}}
+{{eth}}