UI: Conference website web-assets v2 upgrade #103970

Merged
Márton Lente merged 50 commits from ui/web-assets-v2-update into main 2024-09-23 12:34:43 +02:00
Showing only changes of commit 1991748842 - Show all commits

View File

@ -3,26 +3,31 @@
{% block content_main %}
<h2>Tickets</h2>
<table class="table table-no-box">
<tbody>
{% for ticket in object_list %}
{% url 'tickets:detail' ticket_token=ticket.token as detail_url %}
<tr>
{% is_claimed_by ticket request.user as clamed %}
<td>
<a href="{{ detail_url }}">
{{ ticket.edition }} ({{ ticket.sku }})
{% if clamed %}
(claimed by you)
{% endif %}
</a>
</td>
<td><a href="{{ detail_url }}">{% include "tickets/components/pill_payment_status.html" %}</a></td>
<td>{% include "tickets/ticket_detail_invoice.html" %}</td>
</tr>
{% empty %}
No tickets yet.
{% endfor %}
</tbody>
</table>
{% if object_list %}
<table class="table table-no-box">
<tbody>
{% for ticket in object_list %}
{% url 'tickets:detail' ticket_token=ticket.token as detail_url %}
<tr>
{% is_claimed_by ticket request.user as clamed %}
<td>
<a href="{{ detail_url }}">
{{ ticket.edition }} ({{ ticket.sku }})
{% if clamed %}
(claimed by you)
{% endif %}
</a>
</td>
<td><a href="{{ detail_url }}">{% include "tickets/components/pill_payment_status.html" %}</a></td>
<td>{% include "tickets/ticket_detail_invoice.html" %}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% else %}
<div>
No tickets yet.
</div>
{% endif %}
{% endblock %}