Use smaller avatars in email notifications
authorTim Düsterhus <duesterhus@woltlab.com>
Wed, 19 Jul 2017 15:59:43 +0000 (17:59 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Wed, 19 Jul 2017 15:59:43 +0000 (17:59 +0200)
Closes WoltLab/WCF#2196

com.woltlab.wcf/templates/email_html.tpl
com.woltlab.wcf/templates/email_notification_moderationQueueComment.tpl
com.woltlab.wcf/templates/email_notification_moderationQueueCommentResponse.tpl
com.woltlab.wcf/templates/email_notification_userFollowFollowing.tpl
com.woltlab.wcf/templates/email_notification_userProfileComment.tpl
com.woltlab.wcf/templates/email_notification_userProfileCommentResponse.tpl
com.woltlab.wcf/templates/email_notification_userProfileCommentResponseOwner.tpl

index c3894fa59b3f8fd78d1915b6c0be2a01320f603b..90cfc6c8d7c9c780b438b96662173abab0d21a40 100644 (file)
                        padding-left: 15px;
                }
                
+               .box48 {
+                       border-top: 1px solid {$style->getVariable('wcfContentBorder', true)};
+                       border-bottom: 1px solid {$style->getVariable('wcfContentBorder', true)};
+                       padding: 12px;
+               }
+               
+               .box48 td.boxContent {
+                       padding-left: 12px;
+               }
+               
+               .box32 {
+                       border-top: 1px solid {$style->getVariable('wcfContentBorder', true)};
+                       border-bottom: 1px solid {$style->getVariable('wcfContentBorder', true)};
+                       padding: 10px;
+               }
+               
+               .box32 td.boxContent {
+                       padding-left: 10px;
+               }
+               
                .containerHeadline h3 {
                        margin: 0;
                        padding: 0;
index 2e5a8f139479b89490e3bf552b59988268ca225d..15658a7738efb21380939de934364c393b4d76e3 100644 (file)
@@ -10,8 +10,8 @@
        {assign var='user' value=$event->getAuthor()}
        {assign var='comment' value=$event->getUserNotificationObject()}
        
-       {if $notificationType == 'instant'}{assign var='avatarSize' value=128}
-       {else}{assign var='avatarSize' value=64}{/if}
+       {if $notificationType == 'instant'}{assign var='avatarSize' value=48}
+       {else}{assign var='avatarSize' value=32}{/if}
        {capture assign='commentContent'}
        <table cellpadding="0" cellspacing="0" border="0">
                <tr>
index e5522f7513631142205b38eddd0e12bc6e006e90..37675dc1d184ecf9bd8ed49c37d09b450dfa7ad3 100644 (file)
@@ -10,8 +10,8 @@
        {assign var='user' value=$event->getAuthor()}
        {assign var='comment' value=$event->getUserNotificationObject()}
        
-       {if $notificationType == 'instant'}{assign var='avatarSize' value=128}
-       {else}{assign var='avatarSize' value=64}{/if}
+       {if $notificationType == 'instant'}{assign var='avatarSize' value=48}
+       {else}{assign var='avatarSize' value=32}{/if}
        {capture assign='commentContent'}
        <table cellpadding="0" cellspacing="0" border="0">
                <tr>
index 6ba0f6c0f182fc61eb122b467be02a304ad7764c..49f8b8f3321dcb773a7ffa37e927e4d5b30879b6 100644 (file)
@@ -7,8 +7,8 @@
        {lang}wcf.user.notification.follow.mail.html{/lang}
        {assign var='user' value=$event->getAuthor()}
        
-       {if $notificationType == 'instant'}{assign var='avatarSize' value=128}
-       {else}{assign var='avatarSize' value=64}{/if}
+       {if $notificationType == 'instant'}{assign var='avatarSize' value=48}
+       {else}{assign var='avatarSize' value=32}{/if}
        {capture assign='userContent'}
        <table cellpadding="0" cellspacing="0" border="0">
                <tr>
index aeedccd625a6ef53452cbaa91cbf52c17615cb6d..07866879a904f032f684948642f86166b5c3de79 100644 (file)
@@ -10,8 +10,8 @@
        {assign var='user' value=$event->getAuthor()}
        {assign var='comment' value=$event->getUserNotificationObject()}
        
-       {if $notificationType == 'instant'}{assign var='avatarSize' value=128}
-       {else}{assign var='avatarSize' value=64}{/if}
+       {if $notificationType == 'instant'}{assign var='avatarSize' value=48}
+       {else}{assign var='avatarSize' value=32}{/if}
        {capture assign='commentContent'}
        <table cellpadding="0" cellspacing="0" border="0">
                <tr>
index 83e166a4e646668a34626a4e3a47c09b8158e140..4cd74928620dc0e066bfa5dae3b776f568c5186a 100644 (file)
@@ -10,8 +10,8 @@
        {assign var='user' value=$event->getAuthor()}
        {assign var='comment' value=$event->getUserNotificationObject()}
        
-       {if $notificationType == 'instant'}{assign var='avatarSize' value=128}
-       {else}{assign var='avatarSize' value=64}{/if}
+       {if $notificationType == 'instant'}{assign var='avatarSize' value=48}
+       {else}{assign var='avatarSize' value=32}{/if}
        {capture assign='commentContent'}
        <table cellpadding="0" cellspacing="0" border="0">
                <tr>
index a0b28ee6d4b6cb1a8492864eb915eaa9d0e916fd..5874fefdfde3fe0aa1a56c3b4c3a3c240fc94ae8 100644 (file)
@@ -10,8 +10,8 @@
        {assign var='user' value=$event->getAuthor()}
        {assign var='comment' value=$event->getUserNotificationObject()}
        
-       {if $notificationType == 'instant'}{assign var='avatarSize' value=128}
-       {else}{assign var='avatarSize' value=64}{/if}
+       {if $notificationType == 'instant'}{assign var='avatarSize' value=48}
+       {else}{assign var='avatarSize' value=32}{/if}
        {capture assign='commentContent'}
        <table cellpadding="0" cellspacing="0" border="0">
                <tr>