{% extends "aircox/base.html" %} {% comment %}Display a list of BasePages{% endcomment %} {% load i18n aircox %} {% block head_title %} {% block title %} {% if not page or not page.title %} {% if not parent %}{{ view.model|verbose_name:True|title }} {% else %} {% with parent.title as title %} {% with model|default:"Publications"|verbose_name:True|capfirst as model %} {% comment %}Translators: title when pages are filtered for a specific parent page, e.g.: Articles of My Incredible Show{% endcomment %} {% blocktrans %}{{ model }} of {{ title }}{% endblocktrans %} {% endwith %} {% endwith %} {% endif %} {% else %}{{ block.super }} {% endif %} {% endblock %} — {{ station.name }} {% endblock %} {% block main %}{{ block.super }}
{% block pages_list %} {% with has_headline=True %} {% for object in object_list %} {% block list_object %} {% include object.item_template_name|default:item_template_name %} {% endblock %} {% empty %} {% blocktrans %}There is nothing published here...{% endblocktrans %} {% endfor %} {% endwith %} {% endblock %}
{% if is_paginated %}
{% update_query request.GET.copy page=None as GET %} {% with GET.urlencode as GET %} {% endwith %} {% endif %} {% endblock %}