{% load i18n %} {% load wagtailadmin_tags %}
{% endif %} | Title | {% if show_parent %}{% trans 'Parent' %} | {% endif %}{% 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 %}
|
{{ 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 %}Parent | {% 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 %}{% if not moving and not choosing %}
|
{% if show_parent %}
{% with page.get_parent as parent %}
{% if parent %} {{ parent.title }} {% endif %} | {% endwith %} {% 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 %} |