{% load i18n %} {% load wagtailadmin_tags %}
{% endif %} | Title | {% if show_parent %}{% trans 'Parent' %} | {% endif %}{% trans 'Updated' %} | {% 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 %} {% if parent_page.locked %} {% endif %}{% include "wagtailadmin/pages/_privacy_indicator.html" with page=parent_page %}
|
{% if parent_page.latest_revision_created_at %} {{ parent_page.latest_revision_created_at|timesince }} ago {% 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' %} | {% else %} {% trans 'Order' %} {% endif %} {% endif %}{% if sortable %} {% trans 'Title' %} {% else %} {% trans 'Title' %} {% endif %} | {% if show_parent %}{% trans 'Parent' %} | {% endif %}{% if sortable %} {% trans 'Updated' %} {% else %} {% trans 'Updated' %} {% endif %} | {% if sortable %} {% trans 'Type' %} {% else %} {% trans 'Type' %} {% endif %} | {% if sortable %} {% trans 'Status' %} {% else %} {% trans 'Status' %} {% endif %} | |
{% if ordering == "ord" %} {% trans 'Drag' %} {% endif %} |
{% 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 page.locked %} {% endif %}{% if not moving and not choosing %}
|
{% if show_parent %}
{% with page.get_parent as parent %}
{% if parent %} {{ parent.title }} {% endif %} | {% endwith %} {% endif %}{% if page.latest_revision_created_at %} {{ page.latest_revision_created_at|timesince }} ago {% 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 %} |
{% blocktrans with page_number=pages.number num_pages=pages.paginator.num_pages%} Page {{ page_number }} of {{ num_pages }}. {% endblocktrans %}