mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-13 14:39:52 +03:00
9213e590ad
refs https://github.com/TryGhost/Team/issues/1448 refs https://github.com/TryGhost/Team/issues/1443 - Toggle to switch between fake and real data - Email open rate can now use real data (still problem with posts that don't have email data) - Recent posts data
24 lines
815 B
Handlebars
24 lines
815 B
Handlebars
<ol class="gh-list" {{did-insert this.loadPosts}}>
|
|
<li class="gh-list-row header">
|
|
<div class="gh-list-header gh-posts-title-header">Title</div>
|
|
<div class="gh-list-header gh-posts-sends-header">Sends</div>
|
|
<div class="gh-list-header gh-posts-opens-header">Opens</div>
|
|
</li>
|
|
{{#each this.posts as |post|}}
|
|
<GhPostsListItem
|
|
@post={{post}}
|
|
@hideAuthor={{true}}
|
|
@hideStatusColumn={{true}}
|
|
data-test-post-id={{post.id}} />
|
|
{{else}}
|
|
<li class="no-posts-box">
|
|
<div class="no-posts">
|
|
<h3>No published posts yet.</h3>
|
|
</div>
|
|
</li>
|
|
{{/each}}
|
|
</ol>
|
|
|
|
<div class="footer">
|
|
<LinkTo @route="posts" @query={{reset-query-params "posts"}}>See all posts →</LinkTo>
|
|
</div> |