From ae4073b3e4507304ec3ca2a574832619712dbd8f Mon Sep 17 00:00:00 2001 From: Richard Schreiber Date: Wed, 11 Jun 2025 08:58:26 +0200 Subject: [PATCH] [A11y] improve cart renew confirmation (#5206) * [A11y] improve cart renew confirmation * revert time * add inline-dialog to cart-renewal-button so confirm-button has interactive meaning --- .../pretixpresale/event/fragment_cart.html | 16 ++++++++- .../pretixpresale/fragment_modals.html | 4 +++ .../static/pretixbase/scss/_dialogs.scss | 7 ++++ src/pretix/static/pretixpresale/js/ui/cart.js | 35 +++++++++++++------ 4 files changed, 51 insertions(+), 11 deletions(-) diff --git a/src/pretix/presale/templates/pretixpresale/event/fragment_cart.html b/src/pretix/presale/templates/pretixpresale/event/fragment_cart.html index aba0754eec..c0240381ab 100644 --- a/src/pretix/presale/templates/pretixpresale/event/fragment_cart.html +++ b/src/pretix/presale/templates/pretixpresale/event/fragment_cart.html @@ -1,4 +1,5 @@ {% load i18n %} +{% load icon %} {% load eventurl %} {% load daterange %} {% load safelink %} @@ -506,10 +507,23 @@

+ + +
+

+ +

+
+
{% else %}

{% trans "Overview of your ordered products." %}

{% endif %} diff --git a/src/pretix/presale/templates/pretixpresale/fragment_modals.html b/src/pretix/presale/templates/pretixpresale/fragment_modals.html index 1ba6b66709..0ae0d743dd 100644 --- a/src/pretix/presale/templates/pretixpresale/fragment_modals.html +++ b/src/pretix/presale/templates/pretixpresale/fragment_modals.html @@ -48,6 +48,10 @@ {% enddialog %} +{% dialog "dialog-cart-extended" "" "" icon="clock-o" alert=true %} + +{% enddialog %} +