mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 15:12:58 +03:00
a6ebb928a9
refs https://github.com/TryGhost/Ghost/issues/11965 - always show scheduled time when a post is scheduled - show when a post will be emailed and to which group of members
20 lines
775 B
Handlebars
20 lines
775 B
Handlebars
<div data-test-editor-post-status ...attributes>
|
|
{{#if this._isSaving}}
|
|
Saving...
|
|
{{else if (or @post.isPublished @post.pastScheduledTime)}}
|
|
Published
|
|
{{#if (or (eq @post.email.status "submitting") (eq @post.email.status "submitting"))}}
|
|
and sending to {{pluralize @post.email.emailCount "member"}}
|
|
{{else if (eq @post.email.status "submitted")}}
|
|
and sent to {{pluralize @post.email.emailCount "member"}}
|
|
{{/if}}
|
|
{{else if @post.isScheduled}}
|
|
<time datetime="{{@post.publishedAtUTC}}" class="ml1 green f8" data-test-schedule-countdown>
|
|
Will be published {{this.scheduledText}}.
|
|
</time>
|
|
{{else if @post.isNew}}
|
|
New
|
|
{{else}}
|
|
Draft
|
|
{{/if}}
|
|
</div> |