mirror of
https://github.com/pretix/pretix.git
synced 2026-09-12 16:04:42 +00:00
Event index: Add subevent time and name to <title> (Z#23246174)
This commit is contained in:
@@ -23,7 +23,11 @@
|
||||
{% endblocktrans %} ::
|
||||
{% endif %}
|
||||
{% elif subevent %}
|
||||
{{ subevent.get_date_range_display }} ::
|
||||
{{ subevent.get_date_range_display_with_times }} ::
|
||||
{% if subevent.name|upper != event.name|upper %}
|
||||
{# The |upper is a trick to force LazyI18nString→str conversion before comparison #}
|
||||
{{ subevent.name }} ::
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user