{if !empty($bandeaux) || !empty($bandeauParameter) && $bandeauParameter[0]->isVisible}
<div class="bandeau">
        {foreach from=$bandeaux item=bandeau}
            {if $bandeau->isVisible }
                <div class="bandeau-item">
                    <span>{$bandeau->text}</span>
                    {if $bandeau->image}
                        <img src="{$bandeau->image}" alt=""/>
                    {/if}
                </div>
            {/if}
        {/foreach}
    </div>
{/if}
