{foreach from=$data item='item'}
  • {if !empty($item.addUrl)}{/if} {$item.label}
  • {/foreach}