Bug fixes in the welcome page
This commit is contained in:
parent
cc1133e2c7
commit
15af64eb3b
|
@ -27,9 +27,10 @@
|
|||
<td>{{order.data['total']}}€ by {{'Credit card' if order.data['payment_provider'] == 'stripe' else 'Bank Transfer'}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
{% if order.status == 'paid' %}
|
||||
{% if order.status == 'paid' and order.room_confirmed %}
|
||||
<p style="text-align:right;"><a href="/manage/download_ticket?name=BEYOND-{{order.code}}.pdf" role="button">Download ticket</a></p>
|
||||
{% else %}
|
||||
{% endif %}
|
||||
{% if order.status != 'paid' %}
|
||||
<a href="{{order.url}}"><button>Payment area</button></a>
|
||||
{% endif %}
|
||||
</section>
|
||||
|
@ -163,6 +164,7 @@
|
|||
<h2>Badge</h2>
|
||||
{% 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>
|
||||
<p class="notice">⚠️ Photos must be suitable for any audience. Any inappropriate pictures will be removed by the staff</p>
|
||||
{% endif %}
|
||||
<form method="POST" enctype="multipart/form-data" action="/manage/propic/upload">
|
||||
<div class="grid" style="text-align:center;margin-bottom:1em;">
|
||||
|
@ -193,7 +195,9 @@
|
|||
{% if order.ans('propic_fursuiter') %}
|
||||
<input type="submit" name="submit" value="Delete fursuit image" />
|
||||
{% endif %}
|
||||
{% if (not order.ans('propic')) or (order.ans('is_fursuiter') != 'No' and not order.ans('propic_fursuiter')) %}
|
||||
<input type="submit" value="Upload" />
|
||||
{% endif %}
|
||||
</div>
|
||||
</form>
|
||||
</section>
|
||||
|
|
Loading…
Reference in New Issue