mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 19:52:01 +03:00
b04dfd52c1
No issue Misc Places - Removed expired, irrelevant, and fixed todos FloatingHeaderPartial - Fixed "Written" vs "Published" text logic SettingsGeneralController - Removed single quotes from property names EditorBaseController, MarkerManagerMixin - Aligned var declarations PostItemView - Commented out unfunctional code for feature request #2398 - Switched `isPage`, `isFeatured` to be computed properties in `Po - use `toggleProperty` in `PostController.action.toggleFeatured`
23 lines
1.1 KiB
Handlebars
23 lines
1.1 KiB
Handlebars
<header class="floatingheader">
|
|
<button class="button-back" href="#">Back</button>
|
|
<a {{bind-attr class="featured:featured:unfeatured"}} href="#" title="Feature this post" {{action "toggleFeatured"}}>
|
|
<span class="hidden">Star</span>
|
|
</a>
|
|
<small>
|
|
<span class="status">{{#if isPublished}}Published{{else}}Written{{/if}}</span>
|
|
<span class="normal">by</span>
|
|
<span class="author">{{#if author.name}}{{author.name}}{{else}}{{author.email}}{{/if}}</span>
|
|
</small>
|
|
<section class="post-controls">
|
|
{{#link-to "editor.edit" this class="post-edit" title="Edit Post"}}
|
|
<span class="hidden">Edit Post</span>
|
|
{{/link-to}}
|
|
{{#gh-popover-button popoverName="post-settings-menu" tagName="a" 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-drop-right"}}
|
|
{{render "post-settings-menu" model}}
|
|
{{/gh-popover}}
|
|
</section>
|
|
</header>
|