{% load i18n %} {% load wagtailadmin_tags %} {% if orderable %} {% endif %} {% if show_parent %} {% endif %} {% if moving or choosing %} {% if orderable %} {% endif %} {% if show_parent %} {% endif %} {% endif %} {% if parent_page %} {% page_permissions parent_page as parent_page_perms %} {% endif %} {% if not moving and not choosing %} {% if orderable %} {% else %} {% trans 'Order' %} {% endif %} {% endif %} {% if show_parent %} {% endif %} {% endif %} {% if pages %} {% for page in pages %} {% page_permissions page as page_perms %} {% if orderable %} {% endif %} {% if show_parent %} {% with page.get_parent as parent %} {% endwith %} {% endif %} {% endfor %} {% else %} {% url 'wagtailadmin_pages_add_subpage' parent_page.id as add_page_url%} {% endif %}
Title{% trans 'Parent' %}{% trans 'Type' %} {% trans 'Status' %}
{% if moving %}

{% if parent_page.can_choose %} {{ parent_page.title }} {% else %} {{ parent_page.title }} {% endif %} {% test_page_is_public parent_page as is_public %} {% if not is_public %} {% endif %}

{% elif choosing %}

{% if parent_page.can_choose %} {{ parent_page.title }} {% else %} {{ parent_page.title }} {% endif %} {% test_page_is_public parent_page as is_public %} {% if not is_public %} {% endif %}

{% else %}

{% if parent_page_perms.can_edit and 'edit' not in hide_actions|default:'' %} {{ parent_page.title }} {% else %} {{ parent_page.title }} {% endif %}

{% include "wagtailadmin/pages/_privacy_indicator.html" with page=parent_page %}
    {% if parent_page_perms.can_edit and 'edit' not in hide_actions|default:'' %}
  • {% trans 'Edit' %}
  • {% endif %} {% if parent_page.has_unpublished_changes and 'view_draft' not in hide_actions|default:'' %}
  • {% trans 'Draft' %}
  • {% endif %} {% if parent_page.live and not parent_page.is_root and 'view_live' not in hide_actions|default:'' %}
  • {% trans 'Live' %}
  • {% endif %} {% if parent_page_perms.can_move and 'move' not in hide_actions|default:'' %}
  • {% trans 'Move' %}
  • {% endif %} {% if parent_page_perms.can_delete and 'delete' not in hide_actions|default:'' %}
  • {% trans 'Delete' %}
  • {% endif %} {% if parent_page_perms.can_unpublish and 'unpublish' not in hide_actions|default:'' %}
  • {% trans 'Unpublish' %}
  • {% endif %} {% if parent_page_perms.can_add_subpage and 'add_subpage' not in hide_actions|default:'' %}
  • {% trans 'Add child page' %}
  • {% endif %}
{% endif %}
{{ parent_page.content_type.model_class.get_verbose_name }} {% if not choosing and not moving and parent_page.live and not parent_page.is_root and 'view_live' not in hide_actions|default:'' %} {{ parent_page.status_string|capfirst }} {% else %} {{ parent_page.status_string|capfirst }} {% endif %}
{% if ordering == "ord" %} {% trans 'Order' %} {% if sortable %} {% trans 'Title' %} {% else %} {% trans 'Title' %} {% endif %} Parent {% if sortable %} {% trans 'Type' %} {% else %} {% trans 'Type' %} {% endif %} {% if sortable %} {% trans 'Status' %} {% else %} {% trans 'Status' %} {% endif %}
{% if ordering == "ord" %}
{% trans 'Drag' %}
{% endif %}

{% if moving %} {% if page.can_choose %} {{ page.title }} {% else %} {{ page.title }} {% endif %} {% elif choosing %} {% if page.can_choose %} {{ page.title }} {% else %} {{ page.title }} {% endif %} {% else %} {% if page_perms.can_edit and 'edit' not in hide_actions|default:'' %} {{ page.title }} {% else %} {{ page.title }} {% endif %} {% endif %} {% test_page_is_public page as is_public %} {% if not is_public %} {% endif %}

{% if not moving and not choosing %}
    {% if page_perms.can_edit and 'edit' not in hide_actions|default:'' %}
  • {% trans 'Edit' %}
  • {% endif %} {% if page.has_unpublished_changes and 'view_draft' not in hide_actions|default:'' %}
  • {% trans 'Draft' %}
  • {% endif %} {% if page.live and 'view_live' not in hide_actions|default:'' %}
  • {% trans 'Live' %}
  • {% endif %} {% if page_perms.can_move and 'move' not in hide_actions|default:'' %}
  • {% trans 'Move' %}
  • {% endif %} {% if parent_page_perms.can_add_subpage and 'copy' not in hide_actions|default:'' %}
  • {% trans 'Copy' %}
  • {% endif %} {% if page_perms.can_delete and 'delete' not in hide_actions|default:'' %}
  • {% trans 'Delete' %}
  • {% endif %} {% if page_perms.can_unpublish and 'unpublish' not in hide_actions|default:'' %}
  • {% trans 'Unpublish' %}
  • {% endif %} {% if page_perms.can_add_subpage and 'add_subpage' not in hide_actions|default:'' %}
  • {% trans 'Add child page' %}
  • {% endif %}
{% endif %}
{% if parent %} {{ parent.title }} {% endif %} {{ page.content_type.model_class.get_verbose_name }} {% if not choosing and not moving and page.live and 'view_live' not in hide_actions|default:'' %} {{ page.status_string }} {% else %} {{ page.status_string }} {% endif %} {% if allow_navigation %} {% if moving %} {% if page.can_descend %} {% trans 'Explore' %} {% endif %} {% elif choosing %} {% if page.can_descend %} {% trans 'Explore' %} {% endif %} {% else %} {% if page.is_navigable %} {% trans "Explore" %} {% elif page_perms.can_add_subpage %} {% trans 'Add subpage' %} {% endif %} {% endif %} {% endif %}

{% trans "No pages have been created." %}{% if parent_page and parent_page_perms.can_add_subpage %} {% blocktrans %}Why not add one?{% endblocktrans %}{% endif %}

{% if parent_page and pages and pages.paginator %} {% endif %}