From 5172d0723837f61cab53ee7d1085268d12248277 Mon Sep 17 00:00:00 2001 From: Djordje Vlaisavljevic Date: Thu, 23 Feb 2023 15:44:21 +0000 Subject: [PATCH] Updated post analytics mentions empty state refs https://github.com/TryGhost/Team/issues/2575 --- ghost/admin/app/components/posts/analytics.hbs | 10 ++++++---- ghost/admin/app/styles/layouts/content.css | 4 ++++ ghost/admin/app/templates/mentions.hbs | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ghost/admin/app/components/posts/analytics.hbs b/ghost/admin/app/components/posts/analytics.hbs index 2afb5b240a..0d073eaf67 100644 --- a/ghost/admin/app/components/posts/analytics.hbs +++ b/ghost/admin/app/components/posts/analytics.hbs @@ -129,7 +129,7 @@ {{/if}} {{#if this.showMentions }} -
+

Mentions

{{#if this.mentions}} @@ -146,9 +146,11 @@
{{/if}}
- + {{#if this.mentions}} + + {{/if}}
{{/if}} diff --git a/ghost/admin/app/styles/layouts/content.css b/ghost/admin/app/styles/layouts/content.css index 2df16a520e..8513df3793 100644 --- a/ghost/admin/app/styles/layouts/content.css +++ b/ghost/admin/app/styles/layouts/content.css @@ -1914,6 +1914,10 @@ justify-content: space-between; } +.gh-post-analytics-mentions.is-full-width { + display: none; +} + .gh-post-analytics-mentions-header { font-size: 1.55rem; font-weight: 700; diff --git a/ghost/admin/app/templates/mentions.hbs b/ghost/admin/app/templates/mentions.hbs index f5e5f9dded..e9e6de5b85 100644 --- a/ghost/admin/app/templates/mentions.hbs +++ b/ghost/admin/app/templates/mentions.hbs @@ -28,7 +28,7 @@ {{/if}} - {{#if this.post }} + {{#if (and this.post this.mentionsInfinityModel)}}
This post was mentioned in: