mirror of
https://github.com/pretix/pretix.git
synced 2026-05-10 16:04:02 +00:00
Added a custom welcome text
This commit is contained in:
@@ -50,6 +50,9 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if frontpage_text %}
|
||||
{{ frontpage_text|linebreaks }}
|
||||
{% endif %}
|
||||
{% if event.presale_is_running or event.settings.show_items_outside_presale_period %}
|
||||
<form method="post" data-asynctask
|
||||
action="{% eventurl request.event "presale:event.cart.add" %}?next={{ request.path|urlencode }}">
|
||||
|
||||
@@ -72,4 +72,5 @@ class EventIndex(EventViewMixin, CartMixin, TemplateView):
|
||||
context['vouchers_exist'] = vouchers_exist
|
||||
|
||||
context['cart'] = self.get_cart()
|
||||
context['frontpage_text'] = str(self.request.event.settings.frontpage_text)
|
||||
return context
|
||||
|
||||
Reference in New Issue
Block a user