{if $items}
    <button type="button" class="ty-btn ty-btn__primary ut2-menu-opener cm-external-click" data-ca-external-click-id="sw_dropdown_{",#sw_dropdown_"|implode:$items}"><i class="ut2-icon-view_cozy"></i>&nbsp;{$block.name}</button>
{/if}