Skip to content
Code-Schnipsel Gruppen Projekte
Slider.html 1,23 KiB
Newer Older
<div class="quiqqer-bricks-children-slider-container">
    <div class="quiqqer-bricks-children-slider-container-inner">
Henning Leutz's avatar
Henning Leutz committed
        <ul class="quiqqer-bricks-children-slider-container-slide"
            style="height: {$this->getAttribute('height')}px;"
            {foreach from=$children item=Child}
                {assign var=hasImage value=0}
                {if $Child->getAttribute('image_site')}
                    {assign var=hasImage value=1}
                {/if}
            <li class="quiqqer-bricks-children-slider-child">
                <article class="quiqqer-bricks-children-slider-child-display">
Henning Leutz's avatar
Henning Leutz committed
                    <a href="{url site=$Child}" title="{$Child->getAttribute('title')|escape:" html"}">
                    {if !$hasImage}
                        <header>
                            {$Child->getAttribute('title')}
                        </header>
                        {$Child->getAttribute('short')}
                        {image src=$Child->getAttribute('image_site') height=$this->getAttribute('height')}