From 479a7d91620e72832cd8b7b7edb5a8f374e5e812 Mon Sep 17 00:00:00 2001 From: Mason Mohkami Date: Thu, 31 May 2018 03:43:32 -0700 Subject: [PATCH] Fix #357 -- Implement go to for vouchers (#849) * Add Go input for vouchers on the vouchers list page (#357) * Final fixes --- .../pretixcontrol/vouchers/index.html | 25 +++++++++++++------ src/pretix/control/urls.py | 1 + src/pretix/control/views/vouchers.py | 18 +++++++++++++ 3 files changed, 36 insertions(+), 8 deletions(-) diff --git a/src/pretix/control/templates/pretixcontrol/vouchers/index.html b/src/pretix/control/templates/pretixcontrol/vouchers/index.html index 6a13ba8cdb..2f7f1e1fce 100644 --- a/src/pretix/control/templates/pretixcontrol/vouchers/index.html +++ b/src/pretix/control/templates/pretixcontrol/vouchers/index.html @@ -11,32 +11,41 @@ {% endblocktrans %}

+
+
+ + + + +
+
-
+
{% bootstrap_field filter_form.search layout='inline' %}
-
+
{% bootstrap_field filter_form.tag layout='inline' %}
{% if request.event.has_subevents %} -
+
{% bootstrap_field filter_form.status layout='inline' %}
-
+
{% bootstrap_field filter_form.subevent layout='inline' %}
{% else %} -
+
{% bootstrap_field filter_form.status layout='inline' %}
{% endif %} -
+
{% bootstrap_field filter_form.itemvar layout='inline' %}
-
+
{% bootstrap_field filter_form.qm layout='inline' %}
-
+