Merge pull request #6006 from WoltLab/file-processor-can-adopt
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / email_notification.tpl
... / ...
CommitLineData
1{if $mimeType === 'text/plain'}
2{capture assign='content'}
3{lang}wcf.user.notification.mail.plaintext.intro{/lang}
4
5{if $notificationContent|is_array}{include file=$notificationContent[template] application=$notificationContent[application]}{*
6*}{else}{@$notificationContent}{/if}
7
8{lang}wcf.user.notification.mail.plaintext.outro{/lang}
9{/capture}
10{include file='email_plaintext'}
11{else}
12 {capture assign='content'}
13 {lang}wcf.user.notification.mail.html.intro{/lang}
14
15 {if $notificationContent|is_array}
16 {include file=$notificationContent[template] application=$notificationContent[application]}
17 {else}
18 {@$notificationContent}
19 {/if}
20
21 {capture assign=button}
22 <a href="{link controller='NotificationConfirm' isHtmlEmail=true id=$event->getNotification()->notificationID}{/link}">
23 {lang}wcf.user.notification.mail.jumpToContent{/lang}
24 </a>
25 {/capture}
26 {include file='email_paddingHelper' class='button' outerClass='paragraphMargin' content=$button sandbox=true}
27
28 {lang}wcf.user.notification.mail.html.outro{/lang}
29 {/capture}
30 {include file='email_html'}
31{/if}