mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 19:33:02 +03:00
Updated post analytics mentions empty state
refs https://github.com/TryGhost/Team/issues/2575
This commit is contained in:
parent
c33f30a3e0
commit
5172d07238
@ -129,7 +129,7 @@
|
||||
{{/if}}
|
||||
|
||||
{{#if this.showMentions }}
|
||||
<div class="gh-post-analytics-box gh-post-analytics-mentions">
|
||||
<div class="gh-post-analytics-box gh-post-analytics-mentions {{unless this.showLinks "is-full-width"}}">
|
||||
<h3 class="gh-post-analytics-mentions-header">Mentions</h3>
|
||||
<div class="gh-post-analytics-mentions-list">
|
||||
{{#if this.mentions}}
|
||||
@ -146,9 +146,11 @@
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="gh-dashboard-list-footer">
|
||||
<LinkTo @route="posts.mentions" @model={{this.post.id}}>View all mentions →</LinkTo>
|
||||
</div>
|
||||
{{#if this.mentions}}
|
||||
<div class="gh-dashboard-list-footer">
|
||||
<LinkTo @route="posts.mentions" @model={{this.post.id}}>View all mentions →</LinkTo>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
@ -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;
|
||||
|
@ -28,7 +28,7 @@
|
||||
{{/if}}
|
||||
</h2>
|
||||
|
||||
{{#if this.post }}
|
||||
{{#if (and this.post this.mentionsInfinityModel)}}
|
||||
<div class="gh-post-analytics-meta">
|
||||
<div class="gh-post-analytics-meta-text">
|
||||
This post was mentioned in:
|
||||
|
Loading…
Reference in New Issue
Block a user