From 9c1ff296bba2a9112a43ea3cfb46019314f69b17 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Mon, 6 Sep 2021 16:33:41 +0200 Subject: [PATCH] Add missing template --- .../pretixcontrol/vouchers/delete_carts.html | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/pretix/control/templates/pretixcontrol/vouchers/delete_carts.html diff --git a/src/pretix/control/templates/pretixcontrol/vouchers/delete_carts.html b/src/pretix/control/templates/pretixcontrol/vouchers/delete_carts.html new file mode 100644 index 000000000..9b3d50e19 --- /dev/null +++ b/src/pretix/control/templates/pretixcontrol/vouchers/delete_carts.html @@ -0,0 +1,20 @@ +{% extends "pretixcontrol/items/base.html" %} +{% load i18n %} +{% load bootstrap3 %} +{% block title %}{% trans "Delete carts" %}{% endblock %} +{% block inside %} +

{% trans "Delete carts" %}

+
+ {% csrf_token %} +

{% blocktrans %}Are you sure you want to delete any cart positions with voucher {{ voucher }}?{% endblocktrans %}

+

{% blocktrans %}This will silently remove products from the cart of a user currently making a purchase. This can be really confusing. Only use this if you know that the session is no longer in use.{% endblocktrans %}

+
+ + {% trans "Cancel" %} + + +
+
+{% endblock %}