Add event's location to order confirmation mail (Z#23185285) (#5341)

* Add event's location to order confirmation mail

* make location oneline
This commit is contained in:
Richard Schreiber
2025-08-04 15:02:53 +02:00
committed by GitHub
parent a6201c841f
commit 6f920e6bcd

View File

@@ -60,11 +60,17 @@
</td>
<td>
{{ event.name }}
{% if not event.has_subevents and event.settings.show_dates_on_frontpage %}
<br>
{{ event.get_date_range_display }}
{% if event.settings.show_times %}
{{ event.date_from|date:"TIME_FORMAT" }}
{% if not event.has_subevents %}
{% if event.settings.show_dates_on_frontpage %}
<br>
{{ event.get_date_range_display }}
{% if event.settings.show_times %}
{{ event.date_from|date:"TIME_FORMAT" }}
{% endif %}
{% endif %}
{% if event.location %}
<br>
{{ event.location|oneline }}
{% endif %}
{% endif %}
</td>