mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-04 04:10:33 +03:00
54eda5c03c
closes #3018 - split clientold mobile interactions into their respective Ember routes/views - create PostsView and SettingsView with mobile interactions - place interactions for the publish bar into ApplicationRoute on init
36 lines
1.3 KiB
Handlebars
36 lines
1.3 KiB
Handlebars
<section class="content-list js-content-list">
|
|
<header class="floatingheader">
|
|
<section class="content-filter">
|
|
<small>All Posts</small>
|
|
</section>
|
|
{{#link-to "editor.new" class="button button-add" title="New Post"}}<span class="hidden">New Post</span>{{/link-to}}
|
|
</header>
|
|
{{#view "content-list-content-view" tagName="section"}}
|
|
<ol class="posts-list">
|
|
{{#each itemController="posts/post" itemView="post-item-view" itemTagName="li"}}
|
|
{{#link-to "posts.post" this class="permalink" title="Edit this post"}}
|
|
<h3 class="entry-title">{{title}}</h3>
|
|
<section class="entry-meta">
|
|
<span class="status">
|
|
{{#if isPublished}}
|
|
{{#if page}}
|
|
<span class="page">Page</span>
|
|
{{else}}
|
|
<time datetime="{{unbound published_at}}" class="date published">
|
|
Published {{gh-format-timeago published_at}}
|
|
</time>
|
|
{{/if}}
|
|
{{else}}
|
|
<span class="draft">Draft</span>
|
|
{{/if}}
|
|
</span>
|
|
</section>
|
|
{{/link-to}}
|
|
{{/each}}
|
|
</ol>
|
|
{{/view}}
|
|
</section>
|
|
<section class="content-preview js-content-preview">
|
|
{{outlet}}
|
|
</section>
|