Add payment_explanation to payment method change (Z#23164112) (#4424)

This commit is contained in:
Raphael Michel
2024-08-28 15:12:16 +02:00
committed by GitHub
parent 464f625301
commit 0cdce7a9cd

View File

@@ -1,6 +1,7 @@
{% extends "pretixpresale/event/base.html" %} {% extends "pretixpresale/event/base.html" %}
{% load i18n %} {% load i18n %}
{% load eventurl %} {% load eventurl %}
{% load rich_text %}
{% load money %} {% load money %}
{% block title %}{% trans "Change payment method" %}{% endblock %} {% block title %}{% trans "Change payment method" %}{% endblock %}
{% block custom_header %} {% block custom_header %}
@@ -23,6 +24,9 @@
{% endif %} {% endif %}
<form method="post"> <form method="post">
{% csrf_token %} {% csrf_token %}
{% if event.settings.payment_explanation %}
{{ event.settings.payment_explanation|rich_text }}
{% endif %}
<div class="panel-group" id="payment_accordion"> <div class="panel-group" id="payment_accordion">
{% for p in providers %} {% for p in providers %}
<div class="panel panel-default" data-total="{{ p.total|money_numberfield:request.event.currency }}"> <div class="panel panel-default" data-total="{{ p.total|money_numberfield:request.event.currency }}">