mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 19:52:01 +03:00
4a987bfc15
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'
20 lines
741 B
Handlebars
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>
|