diff --git a/ghost/admin/app/components/editor-labs/modals/update-flow.hbs b/ghost/admin/app/components/editor-labs/modals/update-flow.hbs index 9fe333e825..c28c6afea9 100644 --- a/ghost/admin/app/components/editor-labs/modals/update-flow.hbs +++ b/ghost/admin/app/components/editor-labs/modals/update-flow.hbs @@ -26,7 +26,7 @@ {{if post.isScheduled "will be" "was"}} - {{#if (or (and post.isPublished post.email) (and post.isScheduled post.emailRecipientFilter (not post.email)))}} + {{#if (or post.isSent (and post.isPublished post.email) (and post.isScheduled post.emailRecipientFilter (not post.email)))}} {{#if post.emailOnly}} sent to {{else}} @@ -44,6 +44,17 @@ published. {{/if}} {{#if post.isScheduled}} + {{#if (and post.isScheduled post.email)}} + This post was previously emailed to + {{pluralize post.email.emailCount "member"}} on + + {{#let (moment-site-tz post.email.createdAtUTC) as |sentAt|}} + {{moment-format sentAt "D MMM YYYY"}} + at + {{moment-format sentAt "HH:mm"}}. + {{/let}} + {{/if}} +

Need to make a change? - {{else}} + {{else if (not post.emailOnly)}} {{/if}} -

- {{#if (and post.isScheduled post.email)}} -

- This post was previously emailed to - {{pluralize post.email.emailCount "member"}} on - - {{#let (moment-site-tz post.email.createdAtUTC) as |sentAt|}} - {{moment-format sentAt "D MMM YYYY"}} - at - {{moment-format sentAt "HH:mm"}}. - {{/let}} -

- {{/if}} {{/let}}