{% load i18n %} {% load content_filters %} {% load page_filters %} {% load tree_filters %} {% load rules %} {% get_translation page language.slug as page_translation %}
{# djlint:off H020 #} {# djlint:on #}
{% include "pages/_generic_page_tree_node.html" %} {% if not is_archive %}
{% for tag in page_translation.tags %} {{ tag }} {% endfor %}
{% endif %}
{% spaceless %} {% for other_language, other_status in page.translation_states.values %} {% if other_language != request.region.default_language %}
{% if other_status == translation_status.MACHINE_TRANSLATED %} {% elif other_status == translation_status.IN_TRANSLATION %} {% elif other_status == translation_status.OUTDATED %} {% elif other_status == translation_status.UP_TO_DATE %} {% elif other_status == translation_status.MISSING %} {% endif %}
{% endif %} {% endfor %} {% endspaceless %}
{% if is_archive %} {% if page.explicitly_archived %}
{% translate "Archived" %}
{% else %}
{% translate "Archived, because a parent page is archived" %}
{% endif %} {% else %}
{{ page_translation.get_status_display }}
{% endif %}
{{ page_translation.last_updated|date:"SHORT_DATE_FORMAT" }}
{% if page_translation.content or page.mirrored_page %} {% else %} {% endif %} {% if not is_archive %} {% if page_translation.status == PUBLIC %} {% else %} {% endif %} {% endif %} {% has_perm 'cms.publish_page_object' request.user as can_publish_pages %} {% if not is_archive and can_publish_pages %} {% if page.mirroring_pages.exists %} {% else %} {% endif %} {% endif %} {% if is_archive and can_edit_pages %} {% if page.explicitly_archived %} {% else %} {% endif %} {% endif %} {% if perms.cms.delete_page %} {# djlint:off H023 #} {% if not page.is_leaf %} {% elif page.mirroring_pages.exists %} {% else %} {% endif %} {# djlint:on #} {% endif %} {% if not is_archive and request.region.short_urls_enabled and request.user.expert_mode %} {% if page_translation %} {% else %} {% endif %} {% endif %}