Second attempt at hiding date on frontpage in title

This commit is contained in:
Martin Gross
2020-03-12 12:00:18 +01:00
parent 34c9c40ddc
commit 29d52d4fe5

View File

@@ -130,7 +130,7 @@
{% if event_logo and request.event.settings.logo_show_title and not subevent %}
<h2 class="content-header">
{{ event.name }}
{% if event.settings.show_dates_on_frontpage and not event.has_subevents %}
{% if request.event.settings.show_dates_on_frontpage and not event.has_subevents %}
<small>{{ event.get_date_range_display }}</small>
{% endif %}
</h2>