2014-08-16 20:40:52 +04:00
|
|
|
<header class="post-preview-header">
|
2014-09-03 07:42:03 +04:00
|
|
|
<button type="button" class="btn btn-default btn-back">Back</button>
|
2014-08-16 20:40:52 +04:00
|
|
|
<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="btn btn-default post-edit"}} Edit{{/link-to}}
|
|
|
|
</section>
|
|
|
|
</header>
|
2014-03-02 18:30:35 +04:00
|
|
|
|
2014-06-25 18:39:57 +04:00
|
|
|
{{#view "content-preview-content-view" tagName="section"}}
|
|
|
|
<div class="wrapper">
|
2014-07-25 14:42:42 +04:00
|
|
|
<h1>{{title}}</h1>
|
|
|
|
{{gh-format-html html}}
|
2014-03-02 18:30:35 +04:00
|
|
|
</div>
|
2014-06-25 18:39:57 +04:00
|
|
|
{{/view}}
|