{if $type eq 'userTemplates'}
{capture assign=schedRemURL}{crmURL p='civicrm/admin/scheduleReminders' q="reset=1"}{/capture}
{ts 1=$schedRemURL}User-driven message templates allow you to save and re-use messages with layouts. They are useful if you need to send similar emails or letters to contacts on a recurring basis. You can also use them in CiviMail mailings. Messages used for membership renewal reminders, as well as event and activity related reminders should be created via Scheduled Reminders.{/ts} {help id="id-intro"}
{else}
{ts}System workflow message templates are used to generate the emails sent to constituents and administrators for contribution receipts, event confirmations and many other workflows. You can customize the style and wording of these messages here.{/ts} {help id="id-system-workflow"}
{/if}
{if !empty( $template_row) }
{/if}
{if $action ne 1 and $action ne 2 and $type eq 'userTemplates'}
{if $type eq 'userTemplates'}{ts}Message Title{/ts}{else}{ts}Workflow{/ts}{/if} | {if $type eq 'userTemplates'}{ts}Message Subject{/ts} | {ts}Enabled?{/ts} | {/if}|
---|---|---|---|
{$row.msg_title} | {if $type eq 'userTemplates'}{$row.msg_subject} | {if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} | {/if}{$row.action|replace:'xx':$row.id} |
{crmButton p='civicrm/admin/messageTemplates/add' q="action=add&reset=1" id="newMessageTemplates" icon="circle-plus"}{ts}Add Message Template{/ts}{/crmButton}
{/if}
{if empty( $template_row) }
{ts 1=$crmURL}There are no User-driven Message Templates entered. You can add one.{/ts}
{/if}