1c88ed8073
In most cases this mirrors the primary header on the page, but in some cases the title is simplified and/or nested to reflect the depth of the current page Co-authored-by: Thomas Steen Rasmussen <tykling@bornhack.org>
48 lines
1.1 KiB
HTML
48 lines
1.1 KiB
HTML
{% extends 'base.html' %}
|
|
{% load commonmark %}
|
|
{% load static %}
|
|
{% load imageutils %}
|
|
|
|
{% block title %}
|
|
Shop Tickets | {{ block.super }}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="row">
|
|
<h2>Shop Tickets</h2>
|
|
</div>
|
|
<br>
|
|
|
|
<span class="clearfix"></span>
|
|
<hr class="clearfix"/>
|
|
|
|
<table class="table table-hover datatable">
|
|
<thead>
|
|
<tr>
|
|
<th>Ticket Type</th>
|
|
<th>Product</th>
|
|
<th>Order comment</th>
|
|
<th>User / Email</th>
|
|
<th>Used?</th>
|
|
<th>Payment method</th>
|
|
<th>Paid?</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for ticket in shop_tickets %}
|
|
<tr>
|
|
<td>{{ ticket.ticket_type.name }}</td>
|
|
<td>{{ ticket.product.name }}</td>
|
|
<td>{{ ticket.order.customer_comment|default:"None" }}</td>
|
|
<td>{{ ticket.order.user.profile.name }}
|
|
/ {{ ticket.order.user.email }}</td>
|
|
<td>{{ ticket.used }}</td>
|
|
<td>{{ ticket.order.payment_method }}</td>
|
|
<td>{{ ticket.order.paid }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{% endblock content %}
|