{if !empty($channels)}
[s`Templates not found`]
{else}
[s`No templates`]
{/if}
{/if}
{if $channel->getId()}
{else}