forked from rDrama/rDrama
fix 500 errors JC caused with a completely unnecessary refactor
parent
40e39caf4d
commit
5efdc43be5
|
@ -53,5 +53,5 @@ def inject_constants():
|
||||||
"CONTENT_SECURITY_POLICY_DEFAULT":CONTENT_SECURITY_POLICY_DEFAULT,
|
"CONTENT_SECURITY_POLICY_DEFAULT":CONTENT_SECURITY_POLICY_DEFAULT,
|
||||||
"CONTENT_SECURITY_POLICY_HOME":CONTENT_SECURITY_POLICY_HOME,
|
"CONTENT_SECURITY_POLICY_HOME":CONTENT_SECURITY_POLICY_HOME,
|
||||||
"TRUESCORE_DONATE_LIMIT":TRUESCORE_DONATE_LIMIT,
|
"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
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,12 +29,14 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="body w-lg-100">
|
<div class="body w-lg-100">
|
||||||
{% if v.house %}
|
{% if v.house %}
|
||||||
<p>Change your house (cost: {{HOUSE_SWITCH_COST}} coins or marseybux).</p>
|
{% set cost = HOUSE_SWITCH_COST %}
|
||||||
|
<p>Change your house (cost: {{cost}} coins or marseybux).</p>
|
||||||
{% if ' Founder' in v.house %}
|
{% if ' Founder' in v.house %}
|
||||||
<p>Warning: you'll lose your founder status if you join a different house</p>
|
<p>Warning: you'll lose your founder status if you join a different house</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<p>Join a house (cost: {{HOUSE_JOIN_COST}} coins or marseybux).</p>
|
{% set cost = HOUSE_JOIN_COST %}
|
||||||
|
<p>Join a house (cost: {{cost}} coins or marseybux).</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="input-group mb2">
|
<div class="input-group mb2">
|
||||||
<select {% if v.coins < cost and v.procoins < cost or v.bite %}disabled{% endif %} autocomplete="off" id='house' class="form-control" form="profile-settings" name="house" onchange="postToastReload(this,'/settings/profile?house='+document.getElementById('house').value)">
|
<select {% if v.coins < cost and v.procoins < cost or v.bite %}disabled{% endif %} autocomplete="off" id='house' class="form-control" form="profile-settings" name="house" onchange="postToastReload(this,'/settings/profile?house='+document.getElementById('house').value)">
|
||||||
|
|
Loading…
Reference in New Issue