Merge remote-tracking branch 'refs/remotes/origin/3.0'
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / email_notification_userFollowFollowing.tpl
1 {assign var='count' value=$event->getAuthors()|count}{assign var='guestTimesTriggered' value=$event->getNotification()->guestTimesTriggered}{assign var='authors' value=$event->getAuthors()|array_values}
2 {if $mimeType === 'text/plain'}
3 {capture assign='authorList'}{lang}wcf.user.notification.mail.authorList.plaintext{/lang}{/capture}
4 {lang}wcf.user.notification.follow.mail.plaintext{/lang}
5 {else}
6 {capture assign='authorList'}{lang}wcf.user.notification.mail.authorList.html{/lang}{/capture}
7 {lang}wcf.user.notification.follow.mail.html{/lang}
8 {assign var='user' value=$event->getAuthor()}
9
10 {if $notificationType == 'instant'}{assign var='avatarSize' value=48}
11 {else}{assign var='avatarSize' value=32}{/if}
12 {capture assign='userContent'}
13 <table cellpadding="0" cellspacing="0" border="0">
14 <tr>
15 <td><a href="{link controller='User' object=$user isEmail=true}{/link}" title="{$user->username}">{@$user->getAvatar()->getImageTag($avatarSize)}</a></td>
16 <td class="boxContent">
17 {include file='email_userInformationHeadline'}
18 </td>
19 </tr>
20 </table>
21 {/capture}
22 {include file='email_paddingHelper' block=true class='box'|concat:$avatarSize content=$userContent sandbox=true}
23 {/if}