From 1b3d19ba815ea3fe6907285a06806811451fb6c5 Mon Sep 17 00:00:00 2001 From: Djordje Vlaisavljevic Date: Wed, 22 Feb 2023 15:11:14 +0000 Subject: [PATCH] Updated new mention email template design refs https://github.com/TryGhost/Team/issues/2491 --- .../lib/email-templates/new-mention-received.hbs | 8 ++++---- .../staff-service/lib/email-templates/partials/styles.hbs | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ghost/staff-service/lib/email-templates/new-mention-received.hbs b/ghost/staff-service/lib/email-templates/new-mention-received.hbs index a68cc28571..9f4e569f3f 100644 --- a/ghost/staff-service/lib/email-templates/new-mention-received.hbs +++ b/ghost/staff-service/lib/email-templates/new-mention-received.hbs @@ -30,16 +30,16 @@
-
{{sourceTitle}}
+
{{sourceTitle}}
{{sourceExcerpt}}
{{#if sourceFavicon}}{{/if}} - {{#if sourceSiteTitle}}{{sourceSiteTitle}}{{/if}} - {{#if sourceAuthor}} • {{sourceAuthor}}{{/if}} + {{#if sourceSiteTitle}}{{sourceSiteTitle}}{{/if}} + {{#if sourceAuthor}} • {{sourceAuthor}}{{/if}}
{{#if sourceFeaturedImage}} -
+
{{/if}} diff --git a/ghost/staff-service/lib/email-templates/partials/styles.hbs b/ghost/staff-service/lib/email-templates/partials/styles.hbs index bf589130b1..891fb172b8 100644 --- a/ghost/staff-service/lib/email-templates/partials/styles.hbs +++ b/ghost/staff-service/lib/email-templates/partials/styles.hbs @@ -46,6 +46,9 @@ table[class=body] a[class=small] { font-size: 11px !important; } + .new-mention-thumbnail { + display: none !important; + } } /* ------------------------------------- PRESERVE THESE STYLES IN THE HEAD