{$operations = [ ['id' => 'add_to_segments', 'icon' => 'add-to-list', 'name' => '[`Add to segments`]'], ['id' => 'export', 'icon' => 'export', 'name' => '[`Export`]'], ['id' => 'merge', 'icon' => 'merge', 'name' => '[`Merge`]'], ['id' => 'delete', 'icon' => 'delete', 'name' => '[`Delete`]'], ['id' => 'exclude_from_list', 'icon' => 'no-bw', 'name' => '[`Exclude from the list`]'], ['id' => 'remove_from_selected_list', 'icon' => 'no-bw', 'name' => '[`Exclude from the list`]'], ['id' => 'assign_tags', 'icon' => 'tags', 'name' => '[`Tags`]'], ['id' => 'assign_responsible', 'icon' => 'user', 'name' => '[`Set the owner`]'] ]} {foreach $operations as $op} {if $op.id !== 'merge' || $is_admin || $merge_rights }
  • {$op.name} (1)
  • {/if} {/foreach}