UI: 2024 Hero component options #103971
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user