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