forked from CGM_Public/pretix_original
New signal checkout_confirm_page_content
This commit is contained in:
@@ -69,6 +69,17 @@ You will recieve the request triggering the order creation as the ``request`` ke
|
|||||||
As with all event-plugin signals, the ``sender`` keyword argument will contain the event.
|
As with all event-plugin signals, the ``sender`` keyword argument will contain the event.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
checkout_confirm_page_content = EventPluginSignal(
|
||||||
|
providing_args=['request']
|
||||||
|
)
|
||||||
|
"""
|
||||||
|
This signals allows you to add HTML content to the confirmation page that is presented at the
|
||||||
|
end of the checkout process, just before the order is being created.
|
||||||
|
|
||||||
|
As with all plugin signals, the ``sender`` keyword argument will contain the event. A ``request``
|
||||||
|
argument will contain the request object.
|
||||||
|
"""
|
||||||
|
|
||||||
contact_form_fields = EventPluginSignal(
|
contact_form_fields = EventPluginSignal(
|
||||||
providing_args=[]
|
providing_args=[]
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% load bootstrap3 %}
|
{% load bootstrap3 %}
|
||||||
{% load eventurl %}
|
{% load eventurl %}
|
||||||
|
{% load eventsignal %}
|
||||||
{% block title %}{% trans "Confirm order" %}{% endblock %}
|
{% block title %}{% trans "Confirm order" %}{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h2>{% trans "Confirm order" %}</h2>
|
<h2>{% trans "Confirm order" %}</h2>
|
||||||
@@ -57,6 +58,7 @@
|
|||||||
{{ payment }}
|
{{ payment }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{% eventsignal event "pretix.presale.signals.checkout_confirm_page_content" request=request %}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{% if request.event.settings.invoice_address_asked %}
|
{% if request.event.settings.invoice_address_asked %}
|
||||||
<div class="col-md-6 col-xs-12">
|
<div class="col-md-6 col-xs-12">
|
||||||
|
|||||||
Reference in New Issue
Block a user