{% extends "admin/base.html" %} {% block title %}Events{% endblock %} {% macro row(e) %}
{% if e.image %}{% else %}
{% endif %}
{{ e.title_en }} {% if not e.published %}Draft{% endif %} {% if not e.title_fr %}No French title{% endif %}
{{ e.event_date.strftime('%A, %B %d, %Y') }}{% if e.time_text %} · {{ e.time_text }}{% endif %}{% if e.location_en %} · {{ e.location_en }}{% endif %}
Edit
{% endmacro %} {% block content %}

Events

Events move to "Past Events" on the website automatically the day after their date.

+ New event

Upcoming

{% for e in upcoming %}{{ row(e) }}{% else %}

No upcoming events.

{% endfor %}

Past

{% for e in past %}{{ row(e) }}{% else %}

No past events.

{% endfor %}
{% endblock %}