{if $this->getAttribute('showTitle') && $this->getAttribute('frontendTitle')}

{$this->getAttribute('frontendTitle')}

{/if} {if $this->getAttribute('content') != ""}
{$this->getAttribute('content')}
{/if} {if $noResults && empty($locations)}

{$emptyText}

{else} {if $noResults}

{$emptyText}

{/if}
{assign var=counter value=1} {foreach $locations as $location}
{assign var=counter value=$counter+1} {assign var=noImageClass value=" quiqqer-locations-list-entry-short-noImage"} {assign var=noShortClass value=" quiqqer-locations-list-entry-image-noShort"} {if $this->getAttribute('showImages')} {assign var=noImageClass value=""} {/if} {if $this->getAttribute('showShort')} {assign var=noShortClass value=""} {/if} {if $this->getAttribute('showImages') && !empty($location['mainImageUrl'])}
{image src=$location['mainImageUrl'] width="500" type="resize" title=$location['name']}
{/if}
{if $this->getAttribute('showHeader')}

{$location['name']}

{if $this->getAttribute('showCity') && !empty($location['city'])}
{$location['city']}
{/if}
{/if} {if $this->getAttribute('showShort')}
{$location['description']|nl2br}
{/if} {locale group="quiqqer/locations" value="LocationList.show_details"}
{/foreach}
{if $Pagination && $this->getAttribute('showSheets') && $sheets > 1} {$Pagination->create()} {/if} {/if}