This commit is contained in:
Aevann1 2021-10-22 01:39:26 +02:00
parent f0f3f343f8
commit 6925ecefbf

View file

@ -87,7 +87,7 @@
{% set kind = a['kind'] %} {% set kind = a['kind'] %}
<td style="font-weight: bold"> <td style="font-weight: bold">
<a class="btn btn-success {% if v.coins < a['price'] %}disabled{% endif %}" href="javascript:void(0)" onclick="post_toast('/buy/{{kind}}')">Buy</a> <a class="btn btn-success {% if v.coins < a['price'] %}disabled{% endif %}" href="javascript:void(0)" onclick="post_toast('/buy/{{kind}}')">Buy</a>
{% if v.procoins and kind not in ["agendaposter","unban","grass"] %}<a class="btn btn-success {% if v.procoins < a['price'] %}disabled{% endif %}" href="javascript:void(0)" onclick="post_toast('/buy/{{kind}}?mb=true')">Buy with Marseybux</a>{% endif %} {% if v.procoins and kind not in ["agendaposter","grass"] %}<a class="btn btn-success {% if v.procoins < a['price'] %}disabled{% endif %}" href="javascript:void(0)" onclick="post_toast('/buy/{{kind}}?mb=true')">Buy with Marseybux</a>{% endif %}
</td> </td>
</tr> </tr>
{% endfor %} {% endfor %}