forked from CGM_Public/pretix_original
Add signal pretix.presale.signals.front_page_bottom_widget
This commit is contained in:
@@ -26,7 +26,7 @@ Frontend
|
|||||||
--------
|
--------
|
||||||
|
|
||||||
.. automodule:: pretix.presale.signals
|
.. automodule:: pretix.presale.signals
|
||||||
:members: html_head, html_footer, footer_link, front_page_top, front_page_bottom, fee_calculation_for_cart, contact_form_fields, question_form_fields, checkout_confirm_messages, checkout_confirm_page_content, checkout_all_optional, html_page_header, sass_preamble, sass_postamble, render_seating_plan, checkout_flow_steps, position_info, item_description
|
:members: html_head, html_footer, footer_link, front_page_top, front_page_bottom, front_page_bottom_widget, fee_calculation_for_cart, contact_form_fields, question_form_fields, checkout_confirm_messages, checkout_confirm_page_content, checkout_all_optional, html_page_header, sass_preamble, sass_postamble, render_seating_plan, checkout_flow_steps, position_info, item_description
|
||||||
|
|
||||||
|
|
||||||
.. automodule:: pretix.presale.signals
|
.. automodule:: pretix.presale.signals
|
||||||
|
|||||||
@@ -246,6 +246,17 @@ As with all plugin signals, the ``sender`` keyword argument will contain the eve
|
|||||||
receivers are expected to return HTML.
|
receivers are expected to return HTML.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
front_page_bottom_widget = EventPluginSignal(
|
||||||
|
providing_args=["request", "subevent"]
|
||||||
|
)
|
||||||
|
"""
|
||||||
|
This signal is sent out to display additional information on the frontpage below the list
|
||||||
|
of products if the front page is shown in the widget.
|
||||||
|
|
||||||
|
As with all plugin signals, the ``sender`` keyword argument will contain the event. The
|
||||||
|
receivers are expected to return HTML.
|
||||||
|
"""
|
||||||
|
|
||||||
checkout_all_optional = EventPluginSignal(
|
checkout_all_optional = EventPluginSignal(
|
||||||
providing_args=['request']
|
providing_args=['request']
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -290,5 +290,7 @@
|
|||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
{% else %}
|
||||||
|
{% eventsignal event "pretix.presale.signals.front_page_bottom_widget" subevent=subevent request=request %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user