{% 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 %} 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 %} {% endif %} {% endfor %} {% else %} {% endif %}
TitleParentType 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:'' %}
  • Add child page
  • {% endif %} {% if parent_page_perms.can_edit and 'edit' not in hide_actions|default:'' %}
  • Edit
  • {% endif %} {% if parent_page.has_unpublished_changes and 'view_draft' not in hide_actions|default:'' %}
  • View draft
  • {% endif %} {% if parent_page.live and not parent_page.is_root and 'view_live' not in hide_actions|default:'' %}
  • View live
  • {% endif %} {% if parent_page_perms.can_move and 'move' not in hide_actions|default:'' %}
  • Move
  • {% endif %} {% if parent_page_perms.can_delete and 'delete' not in hide_actions|default:'' %}
  • Delete
  • {% endif %} {% if parent_page_perms.can_unpublish and 'unpublish' not in hide_actions|default:'' %}
  • Unpublish
  • {% endif %}
{% endif %}
{{ parent_page.content_type.model_class.get_verbose_name }} {% if not choosing 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" %} Order Title {% if sortable %} {% if ordering == "title" %} {% elif ordering == "-title" %} {% else %} {% endif %} {% endif %} Parent Type {% if sortable %} {% if ordering == "content_type" %} {% elif ordering == "-content_type" %} {% else %} {% endif %} {% endif %} Status {% if sortable %} {% if ordering == "live" %} {% elif ordering == "-live" %} {% else %} {% endif %} {% endif %}
{% if ordering == "ord" %}
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:'' %}
  • Edit
  • {% endif %} {% if page.has_unpublished_changes and 'view_draft' not in hide_actions|default:'' %}
  • View draft
  • {% endif %} {% if page.live and 'view_live' not in hide_actions|default:'' %}
  • View live
  • {% endif %} {% if page_perms.can_move and 'move' not in hide_actions|default:'' %}
  • Move
  • {% endif %} {% if page_perms.can_delete and 'delete' not in hide_actions|default:'' %}
  • Delete
  • {% endif %} {% if page_perms.can_unpublish and 'unpublish' not in hide_actions|default:'' %}
  • Unpublish
  • {% endif %} {% if page_perms.can_add_subpage and 'add_subpage' not in hide_actions|default:'' %}
  • Add child page
  • {% endif %}
{% endif %}
{{ page.get_parent.title }}{{ page.content_type.model_class.get_verbose_name }} {% if not choosing 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 %} Explore {% endif %} {% elif choosing %} {% if page.can_descend %} Explore {% endif %} {% else %} {% if page.is_navigable %} Explore {% elif page_perms.can_add_subpage %} Add subpage {% endif %} {% endif %} {% endif %}

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