From 0af94c3712dde0e96bd0dede58fcde9cd7a2e9f9 Mon Sep 17 00:00:00 2001 From: Richard Schreiber Date: Thu, 15 May 2025 12:30:21 +0200 Subject: [PATCH] [A11y] change customer-pages dl to list of article (#5112) * [A11y] change customer-pages dl to list of article * fix small font-size * change customer memberships as well --- .../organizers/customer_memberships.html | 159 +++++++++--------- .../organizers/customer_orders.html | 107 ++++++------ .../static/pretixpresale/scss/main.scss | 7 +- 3 files changed, 134 insertions(+), 139 deletions(-) diff --git a/src/pretix/presale/templates/pretixpresale/organizers/customer_memberships.html b/src/pretix/presale/templates/pretixpresale/organizers/customer_memberships.html index 5fc92d355d..010a638493 100644 --- a/src/pretix/presale/templates/pretixpresale/organizers/customer_memberships.html +++ b/src/pretix/presale/templates/pretixpresale/organizers/customer_memberships.html @@ -14,94 +14,91 @@
{% if memberships %} -
+
+

+ + {% icon "list-ul" %} + {% trans "Details" %} + +

+
+ {% endfor %} - + {% else %}

{% trans "You don’t have any memberships in your account yet." %}

{% endif %} diff --git a/src/pretix/presale/templates/pretixpresale/organizers/customer_orders.html b/src/pretix/presale/templates/pretixpresale/organizers/customer_orders.html index 0afd6ad9a5..b297bf7503 100644 --- a/src/pretix/presale/templates/pretixpresale/organizers/customer_orders.html +++ b/src/pretix/presale/templates/pretixpresale/organizers/customer_orders.html @@ -15,65 +15,60 @@
{% if orders %} - +
{% else %}

{% trans "You don’t have any orders in your account yet." %}

{% endif %} diff --git a/src/pretix/static/pretixpresale/scss/main.scss b/src/pretix/static/pretixpresale/scss/main.scss index aa153ce20a..937983cb7f 100644 --- a/src/pretix/static/pretixpresale/scss/main.scss +++ b/src/pretix/static/pretixpresale/scss/main.scss @@ -594,15 +594,18 @@ h2 .label { } .event-list.full-width-list { - h3, p { + h3, h4, p { margin-top: 0; margin-bottom: 0; } - h3 { + h3, h4 { font-size: 1em; line-height: 1.25rem; font-weight: bold; } + h4 small { + font-size: 85%; + } } .quotabox {