{% 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 %} {{ 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 perms.cms.delete_poi %} {% if poi.events.exists %} {# djlint:off H023 #} {# djlint:on #} {% else %} {% endif %} {% endif %}