Added filtering to the voucher list

This commit is contained in:
Raphael Michel
2016-07-30 13:56:43 +02:00
parent b7ad2cdc39
commit 650f2412c2
3 changed files with 51 additions and 10 deletions

View File

@@ -0,0 +1,16 @@
{% extends "pretixcontrol/event/base.html" %}
{% load i18n %}
{% load bootstrap3 %}
{% block title %}{% trans "Vouchers" %}{% endblock %}
{% block content %}
<h1>{% trans "Vouchers" %}</h1>
<ul class="nav nav-pills">
<li {% if "event.vouchers" == url_name %}class="active"{% endif %}>
<a href="{% url 'control:event.vouchers' organizer=request.event.organizer.slug event=request.event.slug %}">
{% trans "All Vouchers" %}
</a>
</li>
</ul>
{% block inside %}
{% endblock %}
{% endblock %}