{% load i18n %} {% load page_permissions %} {% 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 %} {% elif choosing %} {% if parent_page.can_choose %}

{{ parent_page.title }}

{% else %}

{{ parent_page.title }}

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

{{ parent_page.title }}

{% else %}

{{ parent_page.title }}

{% endif %}
    {% if parent_page_perms.can_add_subpage and 'add_subpage' not in hide_actions|default:'' %}
  • {% trans 'Add child page' %}
  • {% endif %} {% 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 'View draft' %}
  • {% endif %} {% if parent_page.live and not parent_page.is_root and 'view_live' not in hide_actions|default:'' %}
  • {% trans 'View 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 %}
{% 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 %}
Child pages
{% if ordering == "ord" %} {% trans 'Order' %} {% trans 'Title' %} {% if sortable %} {% if ordering == "title" %} {% elif ordering == "-title" %} {% else %} {% endif %} {% endif %} Parent {% trans 'Type' %} {% if sortable %} {% if ordering == "content_type" %} {% elif ordering == "-content_type" %} {% else %} {% endif %} {% endif %} {% trans 'Status' %} {% if sortable %} {% if ordering == "live" %} {% elif ordering == "-live" %} {% else %} {% endif %} {% 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 %}

{% 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 'View draft' %}
  • {% endif %} {% if page.live and 'view_live' not in hide_actions|default:'' %}
  • {% trans 'View live' %}
  • {% endif %} {% if page_perms.can_move and 'move' not in hide_actions|default:'' %}
  • {% trans 'Move' %}
  • {% 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 %}