forked from CGM_Public/pretix_original
Add date-on-frontpage check to secondary template
This commit is contained in:
@@ -70,7 +70,7 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
<h1>
|
<h1>
|
||||||
<a href="{% eventurl event "presale:event.index" cart_namespace=cart_namespace|default_if_none:"" %}">{{ event.name }}</a>
|
<a href="{% eventurl event "presale:event.index" cart_namespace=cart_namespace|default_if_none:"" %}">{{ event.name }}</a>
|
||||||
{% if not event.has_subevents %}
|
{% if request.event.settings.show_dates_on_frontpage and not event.has_subevents %}
|
||||||
<small>{{ event.get_date_range_display }}</small>
|
<small>{{ event.get_date_range_display }}</small>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</h1>
|
</h1>
|
||||||
|
|||||||
Reference in New Issue
Block a user