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

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

{/if} {if $this->getAttribute('content') != ""}
{$this->getAttribute('content')}
{/if}
{assign var=counter value=1} {foreach from=$children item=Child} {assign var=_Child value=$Child->load()}
{assign var=imageFitClass value=''} {if $imageFit == 'cover'} {assign var=imageFitClass value='image-fit-cover'} {/if}
{if $Child->getAttribute('image_site')}
{image src=$Child->getAttribute('image_site') max-width="500" max-height="500" type="resize" title="{$Child->getAttribute('title')}" class="$imageFitClass"}
{/if}
{if $counter < 10}0{/if}{$counter} {locale group="quiqqer/timeline" var="timeline.verticalBothSides.counterText"}
{if $showLinks} {/if}

{$Child->getAttribute('short')|nl2br} {if $showLinks} {/if}

{assign var=counter value=$counter+1} {/foreach}