Posts

{{#unless this.session.user.isContributor}} {{type.name}} {{/unless}} {{#unless this.session.user.isAuthorOrContributor}} {{author.name}} {{/unless}} {{#unless this.session.user.isContributor}} {{tag.name}} {{/unless}} {{order.name}}
{{#link-to "editor.new" "post" class="gh-btn gh-btn-green" data-test-new-post-button=true}}New post{{/link-to}}
    {{#if this.postsInfinityModel}}
  1. {{!--Favorite indicator column: no header--}}
    Title
    Status
    Last update
  2. {{/if}} {{#each this.postsInfinityModel as |post|}} {{gh-posts-list-item post=post data-test-post-id=post.id}} {{else}}
  3. {{#if this.showingAll}} {{svg-jar "posts-placeholder" class="gh-posts-placeholder"}}

    You haven't written any posts yet!

    {{#link-to "editor.new" "post" class="gh-btn gh-btn-green gh-btn-lg"}} Write a new post {{/link-to}} {{else}}

    No posts match the current filter

    {{#link-to "posts" (query-params type=null author=null tag=null) class="gh-btn gh-btn-lg"}} Show all posts {{/link-to}} {{/if}}
  4. {{/each}}
{{gh-infinity-loader infinityModel=this.postsInfinityModel scrollable=".gh-main" triggerOffset=1000}}
{{outlet}}