diff --git a/files/helpers/jinja2.py b/files/helpers/jinja2.py index dd9b800eb..281b34426 100644 --- a/files/helpers/jinja2.py +++ b/files/helpers/jinja2.py @@ -53,5 +53,5 @@ def inject_constants(): "CONTENT_SECURITY_POLICY_DEFAULT":CONTENT_SECURITY_POLICY_DEFAULT, "CONTENT_SECURITY_POLICY_HOME":CONTENT_SECURITY_POLICY_HOME, "TRUESCORE_DONATE_LIMIT":TRUESCORE_DONATE_LIMIT, - "BAN_EVASION_DOMAIN":BAN_EVASION_DOMAIN, + "BAN_EVASION_DOMAIN":BAN_EVASION_DOMAIN, "HOUSE_JOIN_COST":HOUSE_JOIN_COST, "HOUSE_SWITCH_COST":HOUSE_SWITCH_COST } diff --git a/files/templates/settings_profile.html b/files/templates/settings_profile.html index 834031f9e..55d46a34f 100644 --- a/files/templates/settings_profile.html +++ b/files/templates/settings_profile.html @@ -29,12 +29,14 @@
{% if v.house %} -

Change your house (cost: {{HOUSE_SWITCH_COST}} coins or marseybux).

+ {% set cost = HOUSE_SWITCH_COST %} +

Change your house (cost: {{cost}} coins or marseybux).

{% if ' Founder' in v.house %}

Warning: you'll lose your founder status if you join a different house

{% endif %} {% else %} -

Join a house (cost: {{HOUSE_JOIN_COST}} coins or marseybux).

+ {% set cost = HOUSE_JOIN_COST %} +

Join a house (cost: {{cost}} coins or marseybux).

{% endif %}