UI: 2024 Hero component options #103971

Merged
Márton Lente merged 66 commits from ui/2024-hero-options into main 2024-09-24 13:00:31 +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 %}