mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
Fixed editor status showing draft for sent email-only posts
closes https://github.com/TryGhost/Team/issues/1155 - added handling to `<GhEditorPostStatus>` for posts with status `'sent'`, it now shows "Sent to x members" instead of "Draft - saved"
This commit is contained in:
parent
26c4692306
commit
b7fee9a7bb
@ -1,6 +1,8 @@
|
||||
<div data-test-editor-post-status ...attributes>
|
||||
{{#if this.isSaving}}
|
||||
Saving...
|
||||
{{else if @post.isSent}}
|
||||
Sent to {{gh-pluralize @post.email.emailCount "member"}}
|
||||
{{else if (or @post.isPublished @post.pastScheduledTime)}}
|
||||
Published
|
||||
{{#if (or (eq @post.email.status "submitting") (eq @post.email.status "submitting"))}}
|
||||
|
Loading…
Reference in New Issue
Block a user