mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
🐛 Fixed misleading message when scheduling an already emailed post
no issue After publishing and sending a post, if it was unpublished then scheduled again the post status would show "published and sent to x members" where `x` is the current number of members but that's incorrect because a post can only be sent by email once - removed the "and sent to x members" message if a scheduled post has already been sent via email
This commit is contained in:
parent
0013ff0980
commit
dd2a36a4c7
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
||||||
{{else if @post.isScheduled}}
|
{{else if @post.isScheduled}}
|
||||||
<time datetime="{{@post.publishedAtUTC}}" class="ml1 green f8" data-test-schedule-countdown>
|
<time datetime="{{@post.publishedAtUTC}}" class="ml1 green f8" data-test-schedule-countdown>
|
||||||
Will be published
|
Will be published
|
||||||
{{#if @post.emailRecipientFilter}}
|
{{#if (and @post.emailRecipientFilter (not @post.email))}}
|
||||||
and sent to <GhRecipientFilterCount @filter={{@post.emailRecipientFilter}} />
|
and sent to <GhRecipientFilterCount @filter={{@post.emailRecipientFilter}} />
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{this.scheduledTime}}
|
{{this.scheduledTime}}
|
||||||
|
|
Loading…
Add table
Reference in a new issue