mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -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
|
||||
</h4>
|
||||
{{#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-links-list">
|
||||
<div class="gh-post-analytics-box column">
|
||||
<div class="gh-links-list">
|
||||
{{#if (is-empty this.links) }}
|
||||
There are no links in this email.
|
||||
{{else}}
|
||||
{{#each this.links as |link|}}
|
||||
<div class="gh-links-list-item">
|
||||
<a href="{{link.link.to}}">{{link.link.title}}</a>
|
||||
<p class="gh-links-list-clicks">{{link.count.clicks}}</p>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{else}}
|
||||
Loading...
|
||||
{{/if}}
|
||||
|
|
Loading…
Add table
Reference in a new issue