{% load danceschool_tags i18n %} {% if regClosedEvents %}
{{ event.startTime|date:"g:i A" }} -
|
{{ event.name }}{% if event.teachers %} {% trans "with" %} {{ event.teachers|join:" & "}} {% endif %} at {% if directions_url %} {{ event.location.name }}{% if event.room.name %} - {{ event.room.name }}{% endif %} {% else %} {{ event.location.name }}{% if event.room.name %} - {{ event.room.name }}{% endif %} {% endif %} {% if event.url %}{% trans "more info" %}{% endif %}
{% for occurrence in event.eventoccurrence_set.all %}
{% if occurrence.startTime.date == occurrence.endTime.date and event.numOccurrences == 1 %}
{{ occurrence.startTime|date:"g:i A" }}
{% else %}
{{ occurrence.startTime|date:"D. N j, g:i A" }}
{% endif %}
-
{% if occurrence.startTime.date == occurrence.endTime.date %}
{{ occurrence.endTime|date:"g:i A" }}
{% else %}
{{ occurrence.endTime|date:"D. N j, g:i A" }}
{% endif %}
{% endfor %} |
---|