Ghost/ghost/admin/templates/-publish-bar.hbs
David Arvelo 4faa35e9bf Remove "Delete This Post" option from New Post publish bar menu items
closes #3025
- adds 'unsaved' class to entry-controls when the post model/controller isNew evaluates to true
2014-06-21 18:21:44 -04:00

20 lines
777 B
Handlebars

<footer id="publish-bar">
<nav>
{{view "editor-tags" tagName="section" id="entry-tags" class="left"}}
<div class="right">
<section id="entry-controls" {{bind-attr class="isNew:unsaved"}}>
{{#gh-popover-button popoverName="post-settings-menu" tagName="a" href="#" classNames="post-settings" title="Post Settings"}}
<span class="hidden">Post Settings</span>
{{/gh-popover-button}}
{{#gh-popover name="post-settings-menu" classNames="post-settings-menu menu-right"}}
{{render "post-settings-menu" model}}
{{/gh-popover}}
</section>
{{view "editor-save-button" id="entry-actions"}}
</div>
</nav>
</footer>