mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 19:33:02 +03:00
e1dfe3edb0
no issue - renamed "Update" to "Unpublish" or "Unschedule" to match the available actions - renamed "Save" to "Update" and made it always visible but disabled when there are no unsaved changes - switched <Editor::PublishManagement> to a provider component and extracted `<Editor::PublishButtons>` - allows for the management flow to wrap other UI elements and have the yielded actions passed down so the publish/update flow can be opened from more than just the publish/unschedule/unpublish buttons - added link to "Sent" in editor status that opens the update flow for email-only posts Co-authored-by: Peter Zimon <peter.zimon@gmail.com>
12 lines
339 B
Handlebars
12 lines
339 B
Handlebars
{{yield (hash
|
|
post=@post
|
|
publishOptions=this.publishOptions
|
|
openPreview=this.openPreview
|
|
togglePreview=this.togglePreview
|
|
saveTask=this.saveTask
|
|
saveButtonTaskGroup=this.saveButtonTaskGroup
|
|
hasUnsavedChanges=@hasUnsavedChanges
|
|
openPublishFlow=this.openPublishFlow
|
|
openUpdateFlow=this.openUpdateFlow
|
|
)}}
|