mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-01 02:41:39 -05:00
Updated publishing flow copy
Refs https://github.com/TryGhost/Team/issues/1544
This commit is contained in:
parent
e0d61631d3
commit
af55c71a9e
3 changed files with 21 additions and 15 deletions
|
@ -19,7 +19,7 @@
|
|||
{{else}}
|
||||
on {{moment-format scheduledAt "MMMM Do"}}
|
||||
{{/if}}
|
||||
at {{moment-format scheduledAt "HH:mm"}}
|
||||
at {{moment-format scheduledAt "HH:mm"}}.
|
||||
{{/let}}
|
||||
{{else}}
|
||||
<span class="green">Boom. It’s out there.</span>
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
</strong>
|
||||
|
||||
{{#if @publishOptions.onlyDefaultNewsletter}}
|
||||
<strong>{{gh-pluralize countFetcher.count "member" without-count=true}}</strong>
|
||||
<strong>{{gh-pluralize countFetcher.count "member" without-count=true}}</strong>{{#if this.willPublish}}.{{else}},{{/if}}
|
||||
{{else}}
|
||||
<strong>{{gh-pluralize countFetcher.count "subscriber" without-count=true}}</strong>
|
||||
of <strong>{{@publishOptions.newsletter.name}}</strong>{{#if this.willPublish}}.{{else}},{{/if}}
|
||||
|
|
|
@ -8,20 +8,18 @@
|
|||
{{#let @data.publishOptions.post as |post|}}
|
||||
<div class="gh-publish-settings-container gh-update-flow">
|
||||
<div class="gh-publish-title">
|
||||
This {{post.displayName}} has been
|
||||
<span class="green">{{post.status}}</span>
|
||||
{{#if (and post.isSent (not post.isPublished))}}
|
||||
This {{post.displayName}} was
|
||||
<span class="green">{{post.status}} by email</span>
|
||||
{{else}}
|
||||
This {{post.displayName}} has been
|
||||
<span class="green">{{post.status}}</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
<div class="gh-publish-confirmation">
|
||||
<p>
|
||||
{{#let (moment-site-tz post.publishedAtUTC) as |publishedAt|}}
|
||||
On
|
||||
{{moment-format publishedAt "D MMM YYYY"}}
|
||||
at
|
||||
{{moment-format publishedAt "HH:mm"}}
|
||||
your
|
||||
{{/let}}
|
||||
|
||||
Your
|
||||
{{post.displayName}}
|
||||
|
||||
{{if post.isScheduled "will be" "was"}}
|
||||
|
@ -35,14 +33,21 @@
|
|||
|
||||
{{#if post.isScheduled}}
|
||||
{{#let (members-count-fetcher query=(hash filter=post.fullRecipientFilter)) as |countFetcher|}}
|
||||
<strong>{{gh-pluralize countFetcher.count "member"}}</strong>.
|
||||
<strong>{{gh-pluralize countFetcher.count "member"}}</strong>
|
||||
{{/let}}
|
||||
{{else}}
|
||||
<strong>{{pluralize post.email.emailCount "member"}}</strong>.
|
||||
<strong>{{pluralize post.email.emailCount "member"}}</strong>
|
||||
{{/if}}
|
||||
{{else}}
|
||||
published.
|
||||
published on your site
|
||||
{{/if}}
|
||||
{{#let (moment-site-tz post.publishedAtUTC) as |publishedAt|}}
|
||||
on
|
||||
{{moment-format publishedAt "D MMM YYYY"}}
|
||||
at
|
||||
{{moment-format publishedAt "HH:mm"}}.
|
||||
{{/let}}
|
||||
|
||||
{{#if post.isScheduled}}
|
||||
{{#if (and post.isScheduled post.email)}}
|
||||
This post was previously emailed to
|
||||
|
@ -64,6 +69,7 @@
|
|||
<span>Unschedule and revert to draft →</span>
|
||||
</button>
|
||||
{{else if (not post.emailOnly)}}
|
||||
<br><br>
|
||||
<button
|
||||
type="button"
|
||||
class="gh-revert-to-draft"
|
||||
|
|
Loading…
Add table
Reference in a new issue