mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 13:52:10 +03:00
09435ecf76
no issue Keeps component JS backing files and template files in the same directory which avoids hunting across directories when working with components. Also lets you see all components when looking at one directory, whereas previously template-only or js-only components may not have been obvious without looking at both directories. - ran [codemod](https://github.com/ember-codemods/ember-component-template-colocation-migrator/) for app-level components - manually moved in-repo-addon component templates in `lib/koenig-editor` - removed all explicit `layout` imports as JS/template associations are now made at build-time removing the need for them - updated `.embercli` to default to new flat component structure
18 lines
1.1 KiB
Handlebars
18 lines
1.1 KiB
Handlebars
<header class="gh-publishmenu-heading">Update {{post.displayName}} status</header>
|
|
<section class="gh-publishmenu-content gh-publishmenu-section">
|
|
<div class="gh-publishmenu-radio {{if (eq this.saveType "draft") "active"}}" {{action this.setSaveType "draft" on="click"}}>
|
|
<div class="gh-publishmenu-radio-button" data-test-publishmenu-unpublished-option></div>
|
|
<div class="gh-publishmenu-radio-content">
|
|
<div class="gh-publishmenu-radio-label">Unpublished</div>
|
|
<div class="gh-publishmenu-radio-desc">Revert this {{post.displayName}} to a private draft</div>
|
|
</div>
|
|
</div>
|
|
<div class="gh-publishmenu-radio {{if (eq this.saveType "publish") "active"}}" {{action this.setSaveType "publish" on="click"}}>
|
|
<div class="gh-publishmenu-radio-button" data-test-publishmenu-published-option></div>
|
|
<div class="gh-publishmenu-radio-content">
|
|
<div class="gh-publishmenu-radio-label">Published</div>
|
|
<div class="gh-publishmenu-radio-desc">Display this {{post.displayName}} publicly</div>
|
|
</div>
|
|
</div>
|
|
</section>
|