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