53 lines
1.6 KiB
HTML
53 lines
1.6 KiB
HTML
|
{% extends 'base.html' %}
|
||
|
{% load commonmark %}
|
||
|
{% load static from staticfiles %}
|
||
|
{% 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>Ticket Check-In</h2>
|
||
|
<div class="lead">
|
||
|
Use this view to check in participants. Use the search field to search for username, email, products, order ID, ticket UUID, etc. To hand out badges go to the <a href="{% url 'backoffice:badge_handout' %}">Badge Handout view</a> instead. To hand out other products go to the <a href="{% url 'backoffice:product_handout' %}">Hand Out Products</a> view instead.
|
||
|
</div>
|
||
|
<div>
|
||
|
This table shows all (Shop|Discount|Sponsor)Tickets which are checked_in=False.
|
||
|
</div>
|
||
|
</div>
|
||
|
<br>
|
||
|
<div class="row">
|
||
|
<table class="table table-hover">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th>Ticket</th>
|
||
|
<th>User</th>
|
||
|
<th>Email</th>
|
||
|
<th>Name</th>
|
||
|
<th>Product</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
{% for ticket in tickets %}
|
||
|
<p>{{ ticket }}
|
||
|
<tr>
|
||
|
<td><a href="/admin/tickets/{{ ticket }}/{{ ticket.uuid }}/change/">{{ ticket }}</a></td>
|
||
|
<td>{{ ticket.order.user }}</td>
|
||
|
<td>{{ ticket.order.user.email }}</td>
|
||
|
<td>{{ ticket.name }}</td>
|
||
|
</tr>
|
||
|
{% endfor %}
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<script>
|
||
|
$(document).ready(function(){
|
||
|
$('.table').DataTable();
|
||
|
});
|
||
|
</script>
|
||
|
|
||
|
{% endblock content %}
|
||
|
|
||
|
|