{% load i18n %} {% load rules %} {% load content_filters %} {% if perms.cms.change_place %} {% endif %} {% if place_translation %} {{ place_translation.title|truncatechars:35 }} {% else %} {% translate "Translation not available" %} {% endif %} {% if backend_language and backend_language != language %} {% if place.backend_translation %} {{ place.backend_translation.title|truncatechars:35 }} {% else %} {% translate "Translation not available" %} {% endif %} {% endif %} {% spaceless %} {% for other_language, other_status in place.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.FALLBACK %} {% elif other_status == translation_status.MISSING %} {% endif %}
{% endif %} {% endfor %} {% endspaceless %} {{ place_translation.get_status_display }} {{ place.address }} {{ place.postcode }} {{ place.city }} {{ place.country }} {% translate "No category assigned" as no_category_text %} {% firstof place.category no_category_text %} {% if not is_archive %} {% if place_translation.status == PUBLIC %} {% else %} {% endif %} {% endif %} {% if perms.cms.change_place %} {% if not is_archive %}
{% csrf_token %}
{% if not place.can_be_archived %} {% else %} {% endif %} {% else %} {% endif %} {% endif %} {% if perms.cms.delete_place %} {% if place.is_used %} {# djlint:on #} {% else %} {% endif %} {% endif %}