mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
Show "email failed" state in posts list
This commit is contained in:
parent
30b23f2a7c
commit
535f50ad9f
@ -11,7 +11,7 @@
|
||||
<p>
|
||||
<span class="gh-content-entry-meta">
|
||||
By <span class="midgrey-l2 fw5">{{this.authorNames}}</span>
|
||||
|
||||
|
||||
{{#if this.primaryTag}}
|
||||
in <span class="midgrey-l2 fw5">{{this.primaryTag}}</span>
|
||||
{{/if}}
|
||||
@ -44,8 +44,8 @@
|
||||
{{/if}}
|
||||
|
||||
{{#if (or this.post.email (and this.post.isScheduled this.post.sendEmailWhenPublished))}}
|
||||
<span data-tooltip="Sent by email" class="gh-content-emailed">
|
||||
{{svg-jar "send-email" class="stroke-midgrey"}}
|
||||
<span data-tooltip={{if (eq this.post.email.status "failed") "Sending failed" "Sent by email"}} class="gh-content-emailed">
|
||||
{{svg-jar "send-email" class=(if (eq this.post.email.status "failed") "stroke-red" "stroke-midgrey")}}
|
||||
</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user