{$_cheat_sheet_name = "wa-settings-sms-templates"}
{* SIDEBAR *} {* CONTENT *}
{if $channel->getId()}

{$channel->getName()|escape}

[s`Template group name`]
[s`Sender`]
{sprintf('[`Senders are edited in “SMS providers” section.`]', "`$wa_backend_url`webasyst/settings/sms/")}
{foreach $channel->getTemplatesList() as $_template_id => $_template_name}
{$_template_name|escape}
{/foreach}
{* FIXED Buttons *}
{else}
{if !empty($channels)} [s`Templates not found`] {else} [s`No templates`] {/if}
{/if}
{* Delete channel confirm dialog *}

[s`Delete template group?`]

 [s`or`] [s`cancel`]
{* Preview SMS template dialog *}

[s`Preview SMS message “”`]

{$wa->accountName(true)}
{* Check SMS templates dialog *}

[s`Checking the sending of SMS messages`]

{* Recipient *}
[s`Recipient's phone number`]
[s`+1XXXXXXXXXX, 1XXXXXXXXXX`]
{* Templates *}
[s`Templates`]
{foreach $channel->getTemplatesList() as $_template_id => $_template_name} {$_id = uniqid("template_`$channel->getId()|escape`_`$_template_id|escape`")}
{foreachelse} [s`Templates not found`] {/foreach}
getTemplatesList()) == 0} disabled{/if}>  [s`or`] [s`cancel`]
{* Message about the requirement to save changes *}

[s`Save your templates`]

[s`To check the sending of SMS messages, please first save the changes you have made.`]

{* New template dialog *} {* NOTICE: this template inc use $numbers var from this scope (template) *} {include file="./SettingsNewTemplateSMSDialog.inc.html" inline}