From 1ec18eb44a0e85149fd3b7f8b025cca4e0b2d95b Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Thu, 2 Nov 2023 14:33:26 +0100 Subject: [PATCH] Payment method change: Hide explanation if there are no fees --- .../pretixpresale/event/order_pay_change.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/pretix/presale/templates/pretixpresale/event/order_pay_change.html b/src/pretix/presale/templates/pretixpresale/event/order_pay_change.html index 6026d7e082..e0dde99fa9 100644 --- a/src/pretix/presale/templates/pretixpresale/event/order_pay_change.html +++ b/src/pretix/presale/templates/pretixpresale/event/order_pay_change.html @@ -13,12 +13,14 @@ Choose payment method: {{ code }} {% endblocktrans %} -

- {% blocktrans trimmed %} - Please note: If you change your payment method, your order total will change by the - amount displayed to the right of each method. - {% endblocktrans %} -

+ {% if show_fees %} +

+ {% blocktrans trimmed %} + Please note: If you change your payment method, your order total will change by the + amount displayed to the right of each method. + {% endblocktrans %} +

+ {% endif %}
{% csrf_token %}