{% extends "wagtailadmin/base.html" %} {% load wagtailadmin_tags i18n %} {% block titletag %}{% blocktrans trimmed with title=parent_page.get_admin_display_title %}Exploring {{ title }}{% endblocktrans %}{% endblock %} {% block bodyclass %}page-explorer {% if ordering == 'ord' %}reordering{% endif %}{% endblock %} {% block content %} {% page_permissions parent_page as parent_page_perms %}
{% include 'wagtailadmin/pages/page_listing_header.html' with title=parent_page.get_admin_display_title page_perms=parent_page_perms %} {% include "wagtailadmin/shared/side_panels.html" with in_explorer=True %}
{% csrf_token %} {% include "wagtailadmin/pages/listing/_list_explore.html" with sortable=1 sortable_by_type=1 full_width=1 show_ordering_column=show_ordering_column show_bulk_actions=show_bulk_actions parent_page=parent_page orderable=parent_page_perms.can_reorder_children show_locale_labels=show_locale_labels %} {% if do_paginate %} {% url 'wagtailadmin_explore' parent_page.id as pagination_base_url %} {% paginate pages base_url=pagination_base_url %} {% endif %} {% trans "Select all pages in listing" as select_all_text %} {% include 'wagtailadmin/bulk_actions/footer.html' with select_all_obj_text=select_all_text app_label='wagtailcore' model_name='page' objects=pages %}
{% endblock %} {% block extra_js %} {{ block.super }} {% comment %} modal-workflow is required by the view restrictions interface {% endcomment %} {% comment %} The first column will display checkboxes only if ordering is not being carried out, in which case that column will have the drag and drop buttons to enable ordering {% endcomment %} {% if not show_ordering_column %} {% endif %} {% endblock %}