{% extends "admin/change_list.html" %} {% load i18n admin_list static admin_urls cms_admin cms_js_tags cms_static cms_tags %} {# TODO might not need that #} {% block title %}{% trans "List of pages" %}{% endblock %} {% block bodyclass %}{{ block.super }} change-list cms-pagetree-wrapper{% endblock %} {% block coltype %}flex{% endblock %} {% block date_hierarchy %}{% endblock %} {% block pagination %}{% endblock %} {% block extrahead %} {{ block.super }} {# INFO: we need to add styles here instead of "extrastyle" to avoid conflicts with adminstyle #} {% endblock extrahead %} {% if not is_popup %} {% block breadcrumbs %} {% endblock %} {% endif %} {% block content_title %}{% endblock %} {% block content %} {% spaceless %}

{% trans "Page Tree" %} ({{ tree.site.name }})

{% if tree.is_filtered or request.GET.q %} {# INFO: show reset button when filtering is active #} {% trans "Reset filter"|lower %} {% endif %}
{# INFO: hidden search field with dynamic content #}
{# INFO: dropdown for changing sites and recover deleted pages #}
{# INFO: hidden site form when using the dropdown site switcher #}
{% csrf_token %}
{# INFO: "new page" button #} {% if has_add_permission %} {% blocktrans with opts.verbose_name|title as name %} New {{ name }} {% endblocktrans %} {% endif %}
{% csrf_token %}

{% trans "Main Navigation" %}

{% if has_add_permission %} {% endif %}
{# INFO: javascript is loaded from cms.pagetree.js #}
{# INFO: used when copying nodes #}
{% endspaceless %} {% endblock content %}