2022-01-22 03:05:05 +03:00
|
|
|
<div data-test-publishmenu-published="true" ...attributes>
|
2021-07-09 00:44:52 +03:00
|
|
|
<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 @saveType "draft") "active"}}" {{on "click" (fn @setSaveType "draft")}}>
|
|
|
|
<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>
|
2017-04-11 16:39:45 +03:00
|
|
|
</div>
|
2021-07-09 00:44:52 +03:00
|
|
|
<div class="gh-publishmenu-radio {{if (eq @saveType "publish") "active"}}" {{on "click" (fn @setSaveType "publish")}}>
|
|
|
|
<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>
|
2017-04-11 16:39:45 +03:00
|
|
|
</div>
|
2021-07-09 00:44:52 +03:00
|
|
|
</section>
|
|
|
|
</div>
|