{% load i18n %} {% comment %} Table headers for the page listing, when in 'explore' mode. Expects the following variables: sortable: if true, headings are links to wagtailadmin_explore with sort parameters applied. show_ordering_column: if true, an 'ordering' column is added. orderable: if true, the 'ordering' column is populated (again with links to wagtailadmin_explore). If either sortable or orderable is true, the following variables are also required: parent_page: The page instance currently being browsed (used to generate the correct wagtailadmin_explore urls) ordering: the current sort parameter {% endcomment %} {% if show_ordering_column %} {% if orderable %} {% if ordering == "ord" %} {% trans 'Order' %} {% else %} {% trans 'Order' %} {% endif %} {% 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 %}