- {{#if this.post.isSent}}
- It
- {{else}}
- {{#if this.post.emailOnly}}
+ {{#if (not (and this.post.isPublished (not this.post.emailOnly)))}}
+
+ {{#if this.post.isSent}}
+ It
+ {{else if this.post.emailOnly}}
Your email
{{else}}
Your {{this.post.displayName}}
{{/if}}
- {{/if}}
- {{if this.post.isScheduled "will be" "was"}}
- {{#if this.post.emailOnly}}
- sent to
- {{else if this.post.willEmail}}
- published on your site, and sent to
- {{else}}
- published on your site
- {{/if}}
+ {{if this.post.isScheduled "will be" "was"}}
+ {{if this.post.emailOnly "sent to" (if this.post.willEmail "published on your site, and sent to" "published on your site")}}
- {{#if (or this.post.hasEmail this.post.willEmail)}}
- {{#let (members-count-fetcher query=(hash filter=this.post.fullRecipientFilter)) as |countFetcher|}}
-
- {{if (eq @recipientType "all") "all"}}
+ {{#if (or this.post.hasEmail this.post.willEmail)}}
+ {{#let (members-count-fetcher query=(hash filter=this.post.fullRecipientFilter)) as |countFetcher|}}
+
+ {{if (eq @recipientType "all") "all"}}
+ {{format-number countFetcher.count}}
+ {{if (not-eq @recipientType "all") @recipientType}}
+ {{gh-pluralize countFetcher.count "subscriber" without-count=true}}
+
+ of {{this.post.newsletter.name}}
+ {{/let}}
+ {{/if}}
- {{format-number countFetcher.count}}
-
- {{!-- @recipientType = free/paid/all/specific --}}
- {{if (not-eq @recipientType "all") @recipientType}}
-
- {{gh-pluralize countFetcher.count "subscriber" without-count=true}}
-
-
- of {{this.post.newsletter.name}}
+ {{#let (moment-site-tz this.post.publishedAtUTC) as |publishedAt|}}
+ on
+ {{moment-format publishedAt "D MMM YYYY"}}
+ at
+ {{moment-format publishedAt "HH:mm"}}.
{{/let}}
- {{/if}}
-
- {{#let (moment-site-tz this.post.publishedAtUTC) as |publishedAt|}}
- on
- {{moment-format publishedAt "D MMM YYYY"}}
- at
- {{moment-format publishedAt "HH:mm"}}.
- {{/let}}
-
+
+ {{/if}}
{{#if this.post.emailOnly}}
-