mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
Updated scheduled and published modals
Refs https://github.com/TryGhost/Team/issues/1597
This commit is contained in:
parent
967249ff6a
commit
2e18aaaf2c
2 changed files with 14 additions and 19 deletions
|
@ -8,7 +8,7 @@
|
|||
{{#let @data.publishOptions.post as |post|}}
|
||||
<div class="gh-publish-settings-container gh-update-flow">
|
||||
<div class="gh-publish-title">
|
||||
This {{post.displayName}} is
|
||||
This {{post.displayName}} has been
|
||||
<span class="green">{{post.status}}</span>
|
||||
</div>
|
||||
|
||||
|
@ -42,6 +42,14 @@
|
|||
{{else}}
|
||||
published.
|
||||
{{/if}}
|
||||
To change this,
|
||||
<button
|
||||
type="button"
|
||||
class="gh-revert-to-draft"
|
||||
{{on "click" (fn @close (hash afterTask="revertToDraftTask"))}}
|
||||
>
|
||||
<span>revert post to a private draft</span>
|
||||
</button>.
|
||||
</p>
|
||||
|
||||
{{#if (and post.isScheduled post.email)}}
|
||||
|
@ -58,24 +66,6 @@
|
|||
{{/let}}
|
||||
</p>
|
||||
{{/if}}
|
||||
|
||||
<div class="gh-publish-cta">
|
||||
<GhTaskButton
|
||||
@task={{this.saveTask}}
|
||||
@buttonText="Save changes"
|
||||
@runningText="Saving"
|
||||
@successText="Saved"
|
||||
@class="gh-btn gh-btn-icon gh-btn-primary gh-btn-large mr4"
|
||||
/>
|
||||
|
||||
<button
|
||||
type="button"
|
||||
class="gh-btn gh-btn-icon gh-btn-secondary gh-btn-large"
|
||||
{{on "click" (fn @close (hash afterTask="revertToDraftTask"))}}
|
||||
>
|
||||
<span>Revert to draft</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
{{/let}}
|
||||
</div>
|
|
@ -765,4 +765,9 @@
|
|||
font-size: 1.8rem;
|
||||
font-weight: 400;
|
||||
line-height: 1.35em;
|
||||
}
|
||||
|
||||
.gh-revert-to-draft {
|
||||
color: var(--green-d1);
|
||||
font-weight: 500;
|
||||
}
|
Loading…
Add table
Reference in a new issue