mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 11:22:19 +03:00
bf95c5b268
closes #3352 - adding a ```type``` attribute to buttons inside form in the settings section - scanning the rest of the project to find any other buttons w/a missing attribute
23 lines
1.1 KiB
Handlebars
23 lines
1.1 KiB
Handlebars
<header class="floatingheader">
|
|
<button type="button" class="button-back" href="#">Back</button>
|
|
<button type="button" {{bind-attr class="featured:featured:unfeatured"}} title="Feature this post" {{action "toggleFeatured"}}>
|
|
<span class="hidden">Star</span>
|
|
</button>
|
|
<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" 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>
|