forked from CGM_Public/pretix_original
Organizer index: Make event series more obvious (#3651)
This commit is contained in:
@@ -60,16 +60,24 @@
|
|||||||
<div class="col-md-3 col-xs-12">
|
<div class="col-md-3 col-xs-12">
|
||||||
|
|
||||||
{% if e.settings.show_dates_on_frontpage %}
|
{% if e.settings.show_dates_on_frontpage %}
|
||||||
{{ e.daterange|default:e.get_date_range_display_as_html }}
|
{% if e.has_subevents %}
|
||||||
{% if e.settings.show_times and not e.has_subevents %}
|
<span class="fa fa-calendar"></span> {% trans "Multiple dates" context "subevent" %}
|
||||||
{% timezone e.tzname %}
|
<br>
|
||||||
<br><small class="text-muted" data-time="{{ e.date_from.isoformat }}" data-timezone="{{ e.tzname }}">
|
<span class="text-muted">
|
||||||
{{ e.date_from|date:"TIME_FORMAT" }}
|
{{ e.daterange|default:e.get_date_range_display_as_html }}
|
||||||
{% if e.settings.show_date_to and e.date_to and e.date_to.date == e.date_from.date %}
|
</span>
|
||||||
– {{ e.date_to|date:"TIME_FORMAT" }}
|
{% else %}
|
||||||
{% endif %}
|
{{ e.daterange|default:e.get_date_range_display_as_html }}
|
||||||
</small>
|
{% if e.settings.show_times %}
|
||||||
{% endtimezone %}
|
{% timezone e.tzname %}
|
||||||
|
<br><small class="text-muted" data-time="{{ e.date_from.isoformat }}" data-timezone="{{ e.tzname }}">
|
||||||
|
{{ e.date_from|date:"TIME_FORMAT" }}
|
||||||
|
{% if e.settings.show_date_to and e.date_to and e.date_to.date == e.date_from.date %}
|
||||||
|
– {{ e.date_to|date:"TIME_FORMAT" }}
|
||||||
|
{% endif %}
|
||||||
|
</small>
|
||||||
|
{% endtimezone %}
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user