mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-12 16:14:25 +03:00
4faa35e9bf
closes #3025 - adds 'unsaved' class to entry-controls when the post model/controller isNew evaluates to true
20 lines
777 B
Handlebars
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>
|