{% extends '@Contao/block_searchable.html.twig' %} {% set wrapperAttributes = attrs() .addClass('listing') .mergeWith(wrapperAttributes|default) %} {% set title = record.title.content|default('') %} {% set logoValue = record.logo_uuid.content|default(record.logo.content|default(''))|trim %} {% set street = record.street.content|default('')|trim %} {% set street2 = record.street2.content|default('')|trim %} {% set postal = record.postal.content|default('')|trim %} {% set city = record.city.content|default('')|trim %} {% set phone = record.phone.content|default('')|trim %} {% set fax = record.fax.content|default('')|trim %} {% set email = record.email.raw|default(record.email.content|default(''))|trim %} {% set website = record.website.raw|default(record.website.content|default(''))|trim %} {% set description = record.description.content|default('') %} {% set lat = record.lat.content|default('')|trim %} {% set lng = record.lng.content|default('')|trim %} {% set hasMap = lat is not empty and lng is not empty %} {% block content %}
{% if title is not empty %}

{{ title|sanitize_html }}

{% endif %}
{% if logoValue is not empty %} {% endif %} {% if street is not empty or street2 is not empty or postal is not empty or city is not empty %}
{% if street is not empty %} {{ street|sanitize_html }}{% if street2 is not empty or postal is not empty or city is not empty %}, {% endif %} {% endif %} {% if street2 is not empty %} {{ street2|sanitize_html }}{% if postal is not empty or city is not empty %}, {% endif %} {% endif %} {% if postal is not empty or city is not empty %} {{ postal|sanitize_html }} {{ city|sanitize_html }} {% endif %}
{% endif %} {% if phone is not empty or fax is not empty %}
{% if phone is not empty %} Tel. {{ phone|sanitize_html }} {% endif %} {% if fax is not empty %} Fax {{ fax|sanitize_html }} {% endif %}
{% endif %} {% if email is not empty or website is not empty %}
{% if email is not empty %} {% endif %} {% if website is not empty %} Webseite {% endif %}
{% endif %} {% if description is not empty %}
{{ description|striptags|e|nl2br }}
{% endif %}
{% if hasMap %}
{% endif %}
{% if hasMap %} {% endif %} zurück zur Übersicht

{{ back }}

{% endblock %}

Organisationen