* Bump django from 2.2.8 to 3.0.2 in /src/requirements Bumps [django](https://github.com/django/django) from 2.2.8 to 3.0.2. - [Release notes](https://github.com/django/django/releases) - [Commits](https://github.com/django/django/compare/2.2.8...3.0.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Planked code form betterforms. * Remove betterform from requirements. * Try with master of django-allauth-2fa. * Use static templatetag library, staticfiles is gone. * Use newly released django-allauth-2fa 0.8 instead of git url. * Django 3.0.3 is out. Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
47 lines
1.2 KiB
HTML
47 lines
1.2 KiB
HTML
{% extends 'base.html' %}
|
|
{% load commonmark %}
|
|
{% load static %}
|
|
{% load imageutils %}
|
|
{% block extra_head %}
|
|
<script src="{% static "js/jquery.dataTables.min.js" %}"></script>
|
|
<link rel="stylesheet" href="{% static 'css/jquery.dataTables.min.css' %}">
|
|
{% endblock extra_head %}
|
|
{% block content %}
|
|
<div class="row">
|
|
<h2>Shop Tickets</h2>
|
|
</div>
|
|
<br>
|
|
|
|
<span class="clearfix"></span>
|
|
<hr class="clearfix"/>
|
|
|
|
<table class="table table-hover">
|
|
<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 %}
|