mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 05:14:12 +03:00
Refined email status on post list
This commit is contained in:
parent
c1039f929c
commit
8bf287d81e
@ -201,6 +201,17 @@
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
.gh-content-status-draft,
|
||||
.gh-content-status-published,
|
||||
.gh-content-status-scheduled,
|
||||
.gh-content-status-emailed {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 19px;
|
||||
padding: 0 4px;
|
||||
}
|
||||
|
||||
.gh-content-status-published {
|
||||
color: var(--midgrey);
|
||||
background: var(--lightgrey);
|
||||
@ -231,14 +242,21 @@
|
||||
fill: var(--blue);
|
||||
}
|
||||
|
||||
.gh-content-emailed {
|
||||
.gh-content-status-emailed {
|
||||
display: inline-block;
|
||||
margin: 2px 6px 0;
|
||||
margin: 0px 6px;
|
||||
background: var(--lightgrey);
|
||||
padding-right: 5px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.gh-content-emailed svg {
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
.gh-content-status-emailed svg {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
|
||||
.gh-content-status-emailed.error {
|
||||
background: color-mod(var(--red) a(10%));
|
||||
}
|
||||
|
||||
.gh-content-entry-author {
|
||||
|
@ -44,7 +44,7 @@
|
||||
{{/if}}
|
||||
|
||||
{{#if (or this.post.email (and this.post.isScheduled this.post.sendEmailWhenPublished))}}
|
||||
<span data-tooltip={{if (eq this.post.email.status "failed") "Sending failed" "Sent by email"}} class="gh-content-emailed">
|
||||
<span data-tooltip={{if (eq this.post.email.status "failed") "Failed to send post by email" "Sent by email"}} class="gh-content-status-emailed {{if (eq this.post.email.status "failed") "error"}}">
|
||||
{{svg-jar "send-email" class=(if (eq this.post.email.status "failed") "stroke-red" "stroke-midgrey")}}
|
||||
</span>
|
||||
{{/if}}
|
||||
|
Loading…
Reference in New Issue
Block a user