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">
|
||||
|
||||
{% if e.settings.show_dates_on_frontpage %}
|
||||
{{ e.daterange|default:e.get_date_range_display_as_html }}
|
||||
{% if e.settings.show_times and not e.has_subevents %}
|
||||
{% 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 %}
|
||||
{% if e.has_subevents %}
|
||||
<span class="fa fa-calendar"></span> {% trans "Multiple dates" context "subevent" %}
|
||||
<br>
|
||||
<span class="text-muted">
|
||||
{{ e.daterange|default:e.get_date_range_display_as_html }}
|
||||
</span>
|
||||
{% else %}
|
||||
{{ e.daterange|default:e.get_date_range_display_as_html }}
|
||||
{% if e.settings.show_times %}
|
||||
{% 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 %}
|
||||
{% else %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user