{if $showImages}
{if $locationUrl} {else} {/if}
{/if}

{if $locationUrl} {$location['name']} {else} {$location['name']} {/if}

{if $categoryTitle} {$categoryTitle} {/if} {if !empty($location['description'])} {$location['description']} {/if}
{if $showAddress}

{locale group="quiqqer/locations" var="Locator.MapLocationDetails.label.address"}

{foreach $addressLines as $line} {$line}
{/foreach}
{/if} {if $showContact}

{locale group="quiqqer/locations" var="Locator.MapLocationDetails.label.contactInformation"}

{foreach $location['contactInformation'] as $contact} {assign var=contactType value=$contact['type']} {/foreach}
{locale group="quiqqer/locations" var="controls.attributes.contactInformation.type.$contactType"}: {$contact['value']}
{/if}
{if $showOpeningHours && !empty($location['openingHours']['openingLines'])}

{locale group="quiqqer/locations" var="Locator.MapLocationDetails.label.openingHours"}

{foreach $location['openingHours']['openingLines'] as $opening} {/foreach}
{$opening['day']} {$opening['time']}
{if $location['openingHours']['openNow']} {locale group="quiqqer/locations" var="attribute.OpeningHours.open"} {else} {locale group="quiqqer/locations" var="attribute.OpeningHours.closed"} {/if}
{/if}