Organizer index: Make event series more obvious (#3651)

This commit is contained in:
Raphael Michel
2023-10-18 09:25:07 +02:00
committed by GitHub
parent 9299ac5813
commit e1a212156d

View File

@@ -60,8 +60,15 @@
<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 %}
{% 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 }} {{ e.daterange|default:e.get_date_range_display_as_html }}
{% if e.settings.show_times and not e.has_subevents %} </span>
{% else %}
{{ e.daterange|default:e.get_date_range_display_as_html }}
{% if e.settings.show_times %}
{% timezone e.tzname %} {% timezone e.tzname %}
<br><small class="text-muted" data-time="{{ e.date_from.isoformat }}" data-timezone="{{ e.tzname }}"> <br><small class="text-muted" data-time="{{ e.date_from.isoformat }}" data-timezone="{{ e.tzname }}">
{{ e.date_from|date:"TIME_FORMAT" }} {{ e.date_from|date:"TIME_FORMAT" }}
@@ -71,6 +78,7 @@
</small> </small>
{% endtimezone %} {% endtimezone %}
{% endif %} {% endif %}
{% endif %}
{% else %} {% else %}
&nbsp; &nbsp;
{% endif %} {% endif %}