{% extends "base_template.html" %} {% block title %}Editions{% endblock %} {% block content %}
Each instalment of the event. The current one drives the homepage and the programme page; the rest form the archive.
| Edition | Dates | Events | |
|---|---|---|---|
|
{{ e.name }}
{% if e is sameas current %}current{% endif %}
{% if not e.published %}draft{% endif %}
/editions/{{ e.slug }}{% if e.venue %} · {{ e.venue }}{% endif %}
|
{% if e.starts_on %}{{ e.starts_on.strftime('%Y-%m-%d') }}{% endif %} {% if e.ends_on and e.ends_on != e.starts_on %} → {{ e.ends_on.strftime('%Y-%m-%d') }}{% endif %} | {{ counts.get(e.id, 0) }} | {% set may_photos = may('editions.admin_photos', e) %} {% if e is not sameas current and may('editions.admin_set_current', e) %} {% endif %} {% if e.starts_on and e.ends_on and may('editions.admin_adopt', e) %} {% endif %} {% if may_photos %} Photos Posters {% endif %} {% if may('editions.admin_sponsors', e) %} Sponsors {% endif %} {% if may('editions.admin_edit', e) %} Edit {% endif %} {% if may('editions.admin_delete', e) %} {#- The question is translated, and the name goes into it escaped. striptags gives the plain text back, the name as it is written, and tojson writes it into the script as one string, inside single quotes, so no quote in it can end the string. -#} {% endif %} |
| No editions yet. Add the next one and flag it as current; events dated within it can then be attached in one click. | |||