{% load i18n %} {% load rules %} {% load content_filters %} {% if poi_translation %} {{ poi_translation.title|truncatechars:35 }} {% else %} {% trans "Translation not available" %} {% endif %} {% if backend_language and backend_language != language %} {% if poi.backend_translation %} {{ poi.backend_translation.title|truncatechars:35 }} {% else %} {% trans "Translation not available" %} {% endif %} {% endif %} {% spaceless %} {% for other_language, other_status in poi.translation_states.values %}
{% if 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 %}
{% endfor %} {% endspaceless %} {{ poi_translation.get_status_display }} {{ poi.address }} {{ poi.postcode }} {{ poi.city }} {{ poi.country }} {% trans "No category assigned" as no_category_text %} {% firstof poi.category no_category_text %} {% if poi_translation.status == PUBLIC %} {% else %} {% endif %} {% if perms.cms.delete_poi %} {% if poi.events.exists %} {# djlint:off H023 #} {# djlint:on #} {% else %} {% endif %} {% endif %}