Allow to add a custom text above the invoice address

This commit is contained in:
Raphael Michel
2019-03-18 17:01:03 +01:00
parent a0af0cfb06
commit 07b4b8c473
5 changed files with 24 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
{% extends "pretixpresale/event/checkout_base.html" %}
{% load i18n %}
{% load bootstrap3 %}
{% load rich_text %}
{% block inner %}
<p>{% trans "Before we continue, we need you to answer some questions." %}</p>
<p class="required-legend">
@@ -40,6 +41,11 @@
</summary>
<div id="invoice">
<div class="panel-body">
{% if event.settings.invoice_address_explanation_text %}
<div>
{{ event.settings.invoice_address_explanation_text|rich_text }}
</div>
{% endif %}
{% bootstrap_form invoice_form layout="horizontal" %}
</div>
</div>

View File

@@ -1,6 +1,7 @@
{% extends "pretixpresale/event/base.html" %}
{% load i18n %}
{% load bootstrap3 %}
{% load rich_text %}
{% block title %}{% trans "Modify order" %}{% endblock %}
{% block content %}
<h2>
@@ -37,6 +38,11 @@
</summary>
<div id="invoice" class="panel-collapse">
<div class="panel-body">
{% if event.settings.invoice_address_explanation_text %}
<div>
{{ event.settings.invoice_address_explanation_text|rich_text }}
</div>
{% endif %}
{% bootstrap_form invoice_form layout="horizontal" %}
</div>
</div>