diff --git a/src/pretix/base/payment.py b/src/pretix/base/payment.py index 8efc58d495..5a4a562b8b 100644 --- a/src/pretix/base/payment.py +++ b/src/pretix/base/payment.py @@ -936,7 +936,7 @@ class BasePaymentProvider: """ Will be called if the *event administrator* views the details of a payment. - It should return HTML code containing information regarding the current payment + It should return a SafeString containing HTML code, with information regarding the current payment status and, if applicable, next steps. The default implementation returns an empty string. @@ -961,7 +961,7 @@ class BasePaymentProvider: """ Will be called if the *event administrator* views the details of a refund. - It should return HTML code containing information regarding the current refund + It should return a SafeString containing HTML code, with information regarding the current refund status and, if applicable, next steps. The default implementation returns an empty string. diff --git a/src/pretix/control/templates/pretixcontrol/order/cancel.html b/src/pretix/control/templates/pretixcontrol/order/cancel.html index 158cce737c..8530c50052 100644 --- a/src/pretix/control/templates/pretixcontrol/order/cancel.html +++ b/src/pretix/control/templates/pretixcontrol/order/cancel.html @@ -26,7 +26,7 @@ {% if form.cancellation_fee %} {% if fee %} {% with fee|money:request.event.currency as f %} -
{% blocktrans trimmed with fee=""|add:f|add:""|safe %} +
{% blocktrans trimmed with fee=f|wrap_in:"strong" %} The configured cancellation fee for a self-service cancellation would be {{ fee }} for this order, but for a cancellation performed by you, you need to set the cancellation fee here: {% endblocktrans %}
diff --git a/src/pretix/control/templates/pretixcontrol/order/index.html b/src/pretix/control/templates/pretixcontrol/order/index.html index 37e6171c6f..07157f1e1c 100644 --- a/src/pretix/control/templates/pretixcontrol/order/index.html +++ b/src/pretix/control/templates/pretixcontrol/order/index.html @@ -903,7 +903,7 @@