{% extends "base_template.html" %} {% set is_poster = kind == 'poster' %} {% block title %}{{ _('Posters') if is_poster else _('Photos') }} — {{ edition.name }}{% endblock %} {% block content %}
← {{ _('All editions') }}

{{ (_('Posters of %(name)s', name=edition.name)) if is_poster else (_('Photos of %(name)s', name=edition.name)) }}

{{ _('Photos') }} {{ _('Posters') }}

{{ _('Posters are pulled from the whole image library.') if is_poster else _('Photos come from the public gallery; upload new ones in Media first.') }}

{% with messages = get_flashed_messages(with_categories=true) %} {% for category, message in messages %}
{{ message }}
{% endfor %} {% endwith %}
{{ _('In this edition') }}{{ photos | length }}
{% if photos %}
{% for p in photos %}
{{ p.alt }}
{% endfor %}
{% else %}

{{ _('Nothing here yet. Add some below.') }}

{% endif %}
{{ _('Add posters') if is_poster else _('Add photos') }}
{% if available %}

{{ _('Tick the images to add, then Save.') }}

{% for m in available %}
{% endfor %}
{% else %}

{{ _('Nothing left to add. Upload more in Media.') }}

{% endif %}
{% if available %}{% endif %}
{% endblock %}