forked from MarseyWorld/MarseyWorld
master
parent
ff471758e2
commit
1f46aeb66a
|
@ -34,6 +34,12 @@
|
|||
|
||||
</div>
|
||||
|
||||
{% if SITE_NAME == 'PCM' %}
|
||||
{% set modifier=150 %}
|
||||
{% else %}
|
||||
{% set modifier=50 %}
|
||||
{% endif %}
|
||||
|
||||
<div class="footer">
|
||||
|
||||
<div class="d-flex">
|
||||
|
@ -44,11 +50,11 @@
|
|||
</p>
|
||||
{% endif %}
|
||||
|
||||
<button class="btn btn-primary ml-auto" id="create_button" {% if v.subs_created * 50 > v.coins %}disabled{% endif %}>Create Sub</button>
|
||||
<button class="btn btn-primary ml-auto" id="create_button" {% if v.subs_created * modifier > v.coins %}disabled{% endif %}>Create Sub</button>
|
||||
|
||||
</div>
|
||||
|
||||
<p class="mt-2 mr-1" style="float: right"><b>Cost</b>: {{v.subs_created * 50}} coins</p>
|
||||
<p class="mt-2 mr-1" style="float: right"><b>Cost</b>: {{v.subs_created * modifier}} coins</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue