{#% if location.getImage() %}
{{ location.getImage().getThumbnail('googlemap-infowindow').getHtml({class:'img-fluid'})|raw }}
{% endif %#}
<div class>
<h3>
{{ location.getCompanyName() }}
{% if location.getCompanyName2() %}
<br><span>{{ location.getCompanyName2() }}</span>
{% endif %}
</h3>
<p>
{% for line in location.getAddress() %}
<span class="d-block">{{ line[0] }}</span>
{% endfor %}
{% if location.getStreet() %}
<span class="d-block">{{ location.getStreet() }}</span>
{% endif %}
{% if location.getZip() or location.getCity() %}
<span class="d-block">{{ location.getZip() }} {{ location.getCity() }}</span>
{% endif %}
{% if location.getCountry() %}
<span>{{ locale_get_country_name( location.getCountry()) }}</span>
{% endif %}
</p>
{#% if location.getPhone() or location.getFax() %}
<p>
{% if location.getPhone() %}
<span class="d-block">Phone: <a href="tel:{{ location.getPhone()|replace({' ':''}) }}">{{ location.getPhone() }}</a></span>
{% endif %}
{% if location.getFax() %}
<span class="d-block">Fax: <a href="fax:{{ location.getFax()|replace({' ':''}) }}">{{ location.getFax() }}</a></span>
{% endif %}
</p>
{% endif %#}
{#% if location.getWebsite() %}
<a class="icon-more icon-pre" href="{{ location.getWebsite() }}" target="_blank">{{ foxhabbit_common_tool_url_remove_http( location.getWebsite()) }}</a>
{% endif %#}
{% if config.show_partner_link|default(null) and location.getClassName() == 'Partner' %}
<p>
<a class="simple-link-internal" href="{{ pimcore_url({object:location}) }}">{{ 'partner.teaser.link_details_page'|trans }}</a>
</p>
{% endif %}
</div>