From 34c9c40ddc649a1bd7a8c93285294b8b767c07e0 Mon Sep 17 00:00:00 2001
From: Martin Gross
- {{ ev.get_date_range_display }}
- {% if event.settings.show_times %}
-
- {% blocktrans trimmed with time=ev.date_from|date:"TIME_FORMAT" %}
- Begin: {{ time }}
- {% endblocktrans %}
- {% if event.settings.show_date_to and ev.date_to %}
+ {% if ev.settings.show_dates_on_frontpage %}
+
+ {{ ev.get_date_range_display }}
+ {% if event.settings.show_times %}
- {% blocktrans trimmed with time=ev.date_to|date:"TIME_FORMAT" %}
- End: {{ time }}
+ {% blocktrans trimmed with time=ev.date_from|date:"TIME_FORMAT" %}
+ Begin: {{ time }}
{% endblocktrans %}
+ {% if event.settings.show_date_to and ev.date_to %}
+
+ {% blocktrans trimmed with time=ev.date_to|date:"TIME_FORMAT" %}
+ End: {{ time }}
+ {% endblocktrans %}
+ {% endif %}
+ {% endif %}
+ {% if ev.date_admission %}
+
+ {% if ev.date_admission|date:"SHORT_DATE_FORMAT" == ev.date_from|date:"SHORT_DATE_FORMAT" %}
+ {% blocktrans trimmed with time=ev.date_admission|date:"TIME_FORMAT" %}
+ Admission: {{ time }}
+ {% endblocktrans %}
+ {% else %}
+ {% blocktrans trimmed with datetime=ev.date_admission|date:"SHORT_DATETIME_FORMAT" %}
+ Admission: {{ datetime }}
+ {% endblocktrans %}
+ {% endif %}
{% endif %}
- {% endif %}
- {% if ev.date_admission %}
- {% if ev.date_admission|date:"SHORT_DATE_FORMAT" == ev.date_from|date:"SHORT_DATE_FORMAT" %}
- {% blocktrans trimmed with time=ev.date_admission|date:"TIME_FORMAT" %}
- Admission: {{ time }}
- {% endblocktrans %}
+ {% if subevent %}
+
{% else %}
- {% blocktrans trimmed with datetime=ev.date_admission|date:"SHORT_DATETIME_FORMAT" %}
- Admission: {{ datetime }}
- {% endblocktrans %}
+
{% endif %}
- {% endif %}
-
- {% if subevent %}
-
- {% else %}
-
- {% endif %}
- {% trans "Add to Calendar" %}
-
-