mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
Moved the empty links into it's own box in the post analytics page
- Not ideal, yet, but this is better than what it was before - Now links empty state is inside it's box rather than just plain text refs https://github.com/TryGhost/Team/issues/1920
This commit is contained in:
parent
a0c6fafba1
commit
0541dbc79b
1 changed files with 7 additions and 7 deletions
|
@ -81,20 +81,20 @@
|
||||||
Link clicks
|
Link clicks
|
||||||
</h4>
|
</h4>
|
||||||
{{#if (not-eq this.links null)}}
|
{{#if (not-eq this.links null)}}
|
||||||
{{#if (is-empty this.links) }}
|
|
||||||
No links in email.
|
|
||||||
{{else}}
|
|
||||||
<div class="gh-post-analytics-box column">
|
<div class="gh-post-analytics-box column">
|
||||||
<div class="gh-links-list">
|
<div class="gh-links-list">
|
||||||
|
{{#if (is-empty this.links) }}
|
||||||
|
There are no links in this email.
|
||||||
|
{{else}}
|
||||||
{{#each this.links as |link|}}
|
{{#each this.links as |link|}}
|
||||||
<div class="gh-links-list-item">
|
<div class="gh-links-list-item">
|
||||||
<a href="{{link.link.to}}">{{link.link.title}}</a>
|
<a href="{{link.link.to}}">{{link.link.title}}</a>
|
||||||
<p class="gh-links-list-clicks">{{link.count.clicks}}</p>
|
<p class="gh-links-list-clicks">{{link.count.clicks}}</p>
|
||||||
</div>
|
</div>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
Loading...
|
Loading...
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
Loading…
Add table
Reference in a new issue