{% 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 #}
{% if not filter_form.is_enabled %} {% has_perm 'cms.change_page_object' request.user as can_edit_pages %} {% if can_edit_pages %} {% endif %} {% if not page.parent_id and not page.is_leaf or page.parent_id and page.cached_children|length > 0 %} {% endif %} {% endif %} {% if page_translation %} {{ page_translation.title }} {% else %} {% translate "Translation not available" %} {% endif %} {% if backend_language and backend_language != language %}
{% if page.backend_translation %} {{ page.backend_translation.title }} {% else %} {% translate "Translation not available" %} {% endif %}
{% endif %}
{% for tag in page_translation.tags %} {{ tag }} {% endfor %}
{% spaceless %} {% for other_language, other_status in page.translation_states.values %}
{% 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 %}
{% endfor %} {% endspaceless %}
{{ page_translation.get_status_display }}
{{ page_translation.last_updated }}
{% if page_translation.content or page.mirrored_page %} {% else %} {% endif %} {% if page_translation.status == PUBLIC %} {% else %} {% endif %} {% if can_edit_pages %} {% if page.mirroring_pages.exists %} {% 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 request.region.short_urls_enabled and request.user.expert_mode %} {% if page_translation %} {% else %} {% endif %} {% endif %}