Fixed fursuiter propic appearing to non-fursuiters

This commit is contained in:
Ed 2022-12-19 23:00:08 +01:00
parent a4e34c4599
commit 2710010750
1 changed files with 2 additions and 2 deletions

View File

@ -156,7 +156,7 @@
<section id="badge">
{# Badge is always shown #}
<h2>Badge</h2>
{% if not order.ans('propic') %}
{% if (not order.ans('propic')) or (order.ans('is_fursuiter') != 'No' and not order.ans('propic_fursuiter')) %}
<p class="notice">⚠️ One or more badge pictures are missing! This will cause you badge to be empty, so make sure to upload something before the deadline!</p>
{% endif %}
<form method="POST" enctype="multipart/form-data" action="/manage/propic/upload">
@ -169,7 +169,7 @@
{% endif %}
<p>Normal Badge</p>
</div>
{% if order.ans('is_fursuiter') %}
{% if order.ans('is_fursuiter') != 'No' %}
<div>
{% if not order.ans('propic_fursuiter') %}
<input type="file" value="" accept="image/jpeg,image/png" name="propic_fursuiter" />