Ghost/core/client/templates/-publish-bar.hbs
David Arvelo 4a987bfc15 Split PostController amongst new Editor/PostSettingsMenu Controllers
closes #2910
- create EditorController, PostSettingsMenuController
- remove `posts.post` controllerName dependency on EditorRoute/NewRoute
- `{{render}}` the PostSettingsMenuView with its own controller
- break up properties/methods from PostsPostController into all three controllers
- fix EditorRoute pagination options to now be comparable to PostsRoute
- add NewController to force NewRoute to refresh editor with blank model. Identical to Editor's
- EditorController and NewController are based on a shared mixin
- NewView created, templateName is 'editor'
2014-06-08 14:01:32 -04:00

20 lines
741 B
Handlebars

<footer id="publish-bar">
<nav>
{{view "editor-tags" tagName="section" id="entry-tags" class="left"}}
<div class="right">
<section id="entry-controls">
{{#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>