put tickets page under maintenance for now

This commit is contained in:
Thomas Steen Rasmussen 2017-08-19 12:48:54 +02:00
parent 6d5a7522d8
commit 8f352d8191

View file

@ -3,46 +3,5 @@
{% load shop_tags %}
{% block shop_content %}
<h3>Tickets</h3>
<table class="table table-bordered table-hover">
<thead>
<tr>
<th>
Ticket owner
<th>
Product name
<th>
Price
<th>
Checked in
<tbody>
{% for ticket in tickets %}
<tr>
<td>
<a href="{% url 'shop:ticket_detail' pk=ticket.pk %}" class="btn">
{% if ticket.name %}
{{ ticket.name }}
{% else %}
Click here to set the owner of this ticket
{% endif %}
</a>
<td>
<a href="{% url 'shop:ticket_detail' pk=ticket.pk %}" class="btn">
{{ ticket.product.name }}
<i class="glyphicon glyphicon-eye"></i>
</a>
<td>
{{ ticket.product.price|currency }}
<td>
{% if ticket.checked_in %}
Yes
{% else %}
Not yet
{% endif %}
{% endfor %}
</table>
<h2>Under maintenance</h2>
{% endblock %}