{% load i18n wagtailadmin_tags %} {% if page_revisions_for_moderation %} {% trans "Pages awaiting moderation" as heading %} {% panel id="awaiting-moderation" heading=heading %} {% for revision in page_revisions_for_moderation %} {% page_permissions revision.content_object as page_perms %} {% endfor %}
{% trans "Title" %} {% trans "Parent" %} {% trans "Type" %} {% trans "Edited" %}
{% if page_perms.can_edit %} {{ revision.content_object.specific_deferred.get_admin_display_title }} {% elif revision.content_object.is_previewable %} {{ revision.content_object.specific_deferred.get_admin_display_title }} {% else %} {{ revision.content_object.specific_deferred.get_admin_display_title }} {% endif %} {% i18n_enabled as show_locale_labels %} {% if show_locale_labels and revision.content_object.locale_id %} {% locale_label_from_id revision.content_object.locale_id as locale_label %} {% status locale_label classname="status-tag--label" %} {% endif %} {% include "wagtailadmin/pages/listing/_privacy_indicator.html" with page=revision.content_object %} {% include "wagtailadmin/pages/listing/_locked_indicator.html" with page=revision.content_object %}
{{ revision.content_object.get_parent.specific_deferred.get_admin_display_title }} {{ revision.content_object.page_type_display_name }} {% blocktrans with name=revision.user|user_display_name asvar description %}by {{ name }}{% endblocktrans %} {% human_readable_date revision.created_at description %}
{% endpanel %} {% endif %}