2020-07-01 16:07:52 +03:00
|
|
|
<div data-test-editor-post-status ...attributes>
|
2020-08-03 11:51:06 +03:00
|
|
|
{{#if this.isSaving}}
|
2020-07-01 16:07:52 +03:00
|
|
|
Saving...
|
|
|
|
{{else if (or @post.isPublished @post.pastScheduledTime)}}
|
|
|
|
Published
|
|
|
|
{{#if (or (eq @post.email.status "submitting") (eq @post.email.status "submitting"))}}
|
2020-08-10 13:16:03 +03:00
|
|
|
and sending to {{gh-pluralize @post.email.emailCount "member"}}
|
2020-07-01 16:07:52 +03:00
|
|
|
{{else if (eq @post.email.status "submitted")}}
|
2020-08-10 13:16:03 +03:00
|
|
|
and sent to {{gh-pluralize @post.email.emailCount "member"}}
|
2020-07-01 16:07:52 +03:00
|
|
|
{{/if}}
|
|
|
|
{{else if @post.isScheduled}}
|
|
|
|
<time datetime="{{@post.publishedAtUTC}}" class="ml1 green f8" data-test-schedule-countdown>
|
2020-10-09 17:56:37 +03:00
|
|
|
Will be published {{this.scheduledText}}
|
2019-11-13 17:31:42 +03:00
|
|
|
</time>
|
2020-07-01 16:07:52 +03:00
|
|
|
{{else if @post.isNew}}
|
|
|
|
New
|
2019-11-13 17:31:42 +03:00
|
|
|
{{else}}
|
2020-07-01 16:07:52 +03:00
|
|
|
Draft
|
2019-11-13 17:31:42 +03:00
|
|
|
{{/if}}
|
2020-07-01 16:07:52 +03:00
|
|
|
</div>
|