diff --git a/app/templates/components/gh-posts-list-item.hbs b/app/templates/components/gh-posts-list-item.hbs index ca1dd9c8d3..b12be90cd0 100644 --- a/app/templates/components/gh-posts-list-item.hbs +++ b/app/templates/components/gh-posts-list-item.hbs @@ -1,34 +1,38 @@ -

{{#link-to "editor.edit" post.displayName post.id class="permalink" title="Edit this post"}}{{post.title}}{{/link-to}}

-

{{subText}}

+

+ {{#link-to "editor.edit" this.post.displayName this.post.id class="permalink" title="Edit this post"}} + {{this.post.title}} + {{/link-to}} +

+

{{this.subText}}

- {{#if isPage}} + {{#if this.isPage}} Page {{/if}} - {{#if isScheduled}} + {{#if this.isScheduled}} Scheduled {{/if}} - {{#if isDraft}} + {{#if this.isDraft}} Draft {{/if}} - {{#if isFeatured}} + {{#if this.isFeatured}} Featured {{/if}} - {{#if (and isPublished (not post.page))}} + {{#if (and this.isPublished (not this.post.page))}} Published {{/if}} - by {{authorNames}} — + by {{this.authorNames}} — - {{#if isPublished}} - {{gh-format-post-time post.publishedAtUTC published=true}} + {{#if this.isPublished}} + {{gh-format-post-time this.post.publishedAtUTC published=true}} {{else if isScheduled}} - Will go live {{gh-format-post-time post.publishedAtUTC scheduled=true}} + Will go live {{gh-format-post-time this.post.publishedAtUTC scheduled=true}} {{else}} - Last edited {{gh-format-post-time post.updatedAtUTC draft=true}} + Last edited {{gh-format-post-time this.post.updatedAtUTC draft=true}} {{/if}}