Ghost/ghost/admin/app/templates/components/gh-editor-post-status.hbs
Kevin Ansfield 6d11515f81 🐛 empty posts shouldn't be publishable (#776)
closes https://github.com/TryGhost/Ghost/issues/8501

- don't show publish menu for new posts - the publishmenu options don't make much sense for a post that hasn't been saved yet
- show post status as "new" when a post is unsaved rather than "draft"
2017-07-10 17:24:21 +02:00

12 lines
161 B
Handlebars

{{#if _isSaving}}
Saving...
{{else if isPublished}}
Published
{{else if isScheduled}}
Scheduled
{{else if isNew}}
New
{{else}}
Draft
{{/if}}