src/AppBundle/Resources/views/Areas/parts/basisbundle-part-googlemap/infowindow.html.twig line 1

Open in your IDE?
  1. {#% if location.getImage() %}
  2.     {{ location.getImage().getThumbnail('googlemap-infowindow').getHtml({class:'img-fluid'})|raw }}
  3. {% endif %#}
  4. <div class>
  5.     <h3>
  6.         {{ location.getCompanyName() }}
  7.         {% if location.getCompanyName2() %}
  8.             <br><span>{{ location.getCompanyName2() }}</span>
  9.         {% endif %}
  10.     </h3>
  11.     <p>
  12.         {% for line in location.getAddress() %}
  13.             <span class="d-block">{{ line[0] }}</span>
  14.         {% endfor %}
  15.         {% if location.getStreet() %}
  16.             <span class="d-block">{{ location.getStreet() }}</span>
  17.         {% endif %}
  18.         {% if location.getZip() or location.getCity() %}
  19.             <span class="d-block">{{ location.getZip() }} {{ location.getCity() }}</span>
  20.         {% endif %}
  21.         {% if location.getCountry() %}
  22.             <span>{{ locale_get_country_name( location.getCountry()) }}</span>
  23.         {% endif %}
  24.     </p>
  25.     {#% if location.getPhone() or location.getFax() %}
  26.         <p>
  27.             {% if location.getPhone() %}
  28.                 <span class="d-block">Phone: <a href="tel:{{ location.getPhone()|replace({' ':''}) }}">{{ location.getPhone() }}</a></span>
  29.             {% endif %}
  30.             {% if location.getFax() %}
  31.                 <span class="d-block">Fax: <a href="fax:{{ location.getFax()|replace({' ':''}) }}">{{ location.getFax() }}</a></span>
  32.             {% endif %}
  33.         </p>
  34.     {% endif %#}
  35.     {#% if location.getWebsite() %}
  36.         <a class="icon-more icon-pre" href="{{ location.getWebsite() }}" target="_blank">{{ foxhabbit_common_tool_url_remove_http( location.getWebsite()) }}</a>
  37.     {% endif %#}
  38.     {% if config.show_partner_link|default(null) and location.getClassName() == 'Partner' %}
  39.         <p>
  40.             <a class="simple-link-internal" href="{{ pimcore_url({object:location}) }}">{{ 'partner.teaser.link_details_page'|trans }}</a>
  41.         </p>
  42.     {% endif %}
  43. </div>