From f7e5f0b567109e4552511ee94a9280cd8a67b866 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Mon, 19 Jul 2021 13:58:45 +0200 Subject: [PATCH] Order overview: Adjust to new filter style --- .../pretixcontrol/orders/overview.html | 47 ++++++++++--------- 1 file changed, 25 insertions(+), 22 deletions(-) diff --git a/src/pretix/control/templates/pretixcontrol/orders/overview.html b/src/pretix/control/templates/pretixcontrol/orders/overview.html index 28baa3a25..fcf6267ab 100644 --- a/src/pretix/control/templates/pretixcontrol/orders/overview.html +++ b/src/pretix/control/templates/pretixcontrol/orders/overview.html @@ -20,32 +20,35 @@ {% trans "PDF" %} -
-
- {% if request.event.has_subevents %} -
- {% bootstrap_field filter_form.subevent layout='inline' %} +
+
+

{% trans "Filter" %}

+
+ +
+ {% if request.event.has_subevents %} +
+ {% bootstrap_field filter_form.subevent layout='inline' %} +
+
+ {% bootstrap_field filter_form.date_axis layout='inline' %} +
+ {% else %} +
+ {% bootstrap_field filter_form.date_axis layout='inline' %} +
+ {% endif %} +
+ {% bootstrap_field filter_form.date_from layout='inline' %}
-
- {% bootstrap_field filter_form.date_axis layout='inline' %} +
+ {% bootstrap_field filter_form.date_until layout='inline' %}
- {% else %} -
- {% bootstrap_field filter_form.date_axis layout='inline' %} -
- {% endif %} -
- {% bootstrap_field filter_form.date_from layout='inline' %}
-
- {% bootstrap_field filter_form.date_until layout='inline' %} -
-
-