2020-11-26 20:19:05 +03:00
|
|
|
<li class="gh-list-row gh-posts-list-item"
|
|
|
|
{{on "mouseover" this.mouseOver}}
|
|
|
|
{{on "mouseleave" this.mouseLeave}}
|
|
|
|
...attributes
|
|
|
|
>
|
2021-02-04 19:25:42 +03:00
|
|
|
<LinkTo @route="editor.edit" @models={{array @post.displayName @post.id}} class="permalink gh-list-data gh-post-list-title">
|
2020-07-01 20:39:03 +03:00
|
|
|
<h3 class="gh-content-entry-title">
|
|
|
|
{{@post.title}}
|
|
|
|
</h3>
|
|
|
|
<p>
|
|
|
|
<span class="gh-content-entry-meta">
|
|
|
|
By <span class="midgrey-l2 fw5">{{this.authorNames}}</span>
|
2019-11-21 02:37:37 +03:00
|
|
|
|
2020-07-01 20:39:03 +03:00
|
|
|
{{#if @post.primaryTag}}
|
|
|
|
in <span class="midgrey-l2 fw5">{{@post.primaryTag.name}}</span>
|
|
|
|
{{/if}}
|
2019-11-14 15:53:43 +03:00
|
|
|
|
2021-07-26 16:41:16 +03:00
|
|
|
• <span data-tooltip="{{gh-format-post-time @post.updatedAtUTC "D MMM YYYY"}}">{{gh-format-post-time @post.updatedAtUTC draft=true}}</span>
|
2020-11-06 21:54:27 +03:00
|
|
|
|
2020-07-01 20:39:03 +03:00
|
|
|
</span>
|
|
|
|
</p>
|
|
|
|
</LinkTo>
|
|
|
|
|
2020-12-02 14:47:34 +03:00
|
|
|
{{#if (and this.feature.emailAnalytics (eq @post.displayName "post"))}}
|
2021-02-04 19:25:42 +03:00
|
|
|
<LinkTo @route="editor.edit" @models={{array @post.displayName @post.id}} class="permalink gh-list-data gh-post-list-recipients">
|
2020-11-26 20:19:05 +03:00
|
|
|
<div class="flex fw4">
|
|
|
|
{{#if (or @post.email @post.willEmail)}}
|
|
|
|
{{#if (eq @post.email.status "submitted")}}
|
|
|
|
<span class="flex" data-tooltip="{{capitalize @post.email.recipientFilter}} members">
|
2020-11-30 12:14:27 +03:00
|
|
|
<span class="darkgrey fw5 gh-content-email-stats">{{@post.email.emailCount}}</span>
|
2020-11-26 20:19:05 +03:00
|
|
|
<span class="midgrey-l2 fw4 gh-content-email-stats-mobile">{{gh-pluralize @post.email.emailCount "send"}}</span>
|
|
|
|
</span>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</LinkTo>
|
|
|
|
|
2021-02-04 19:25:42 +03:00
|
|
|
<LinkTo @route="editor.edit" @models={{array @post.displayName @post.id}} class="permalink gh-list-data gh-post-list-opens">
|
2020-11-26 20:19:05 +03:00
|
|
|
{{#if (and @post.email.trackOpens (eq @post.email.status "submitted"))}}
|
|
|
|
<div class="flex">
|
2020-11-30 12:14:27 +03:00
|
|
|
<span class="darkgrey fw5 gh-content-email-stats">
|
2020-11-26 20:19:05 +03:00
|
|
|
{{#if this.isHovered}}
|
|
|
|
{{@post.email.openedCount}}
|
|
|
|
{{else}}
|
|
|
|
{{@post.email.openRate}}%
|
|
|
|
{{/if}}
|
|
|
|
</span>
|
|
|
|
<span class="midgrey-l2 fw4 gh-content-email-stats-mobile">{{@post.email.openRate}}% opens</span>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
</LinkTo>
|
|
|
|
{{/if}}
|
|
|
|
|
2021-02-04 19:25:42 +03:00
|
|
|
<LinkTo @route="editor.edit" @models={{array @post.displayName @post.id}} class="permalink gh-list-data gh-post-list-status">
|
2020-07-01 20:39:03 +03:00
|
|
|
<div class="flex items-center">
|
2020-07-01 20:30:00 +03:00
|
|
|
{{#if @post.isScheduled}}
|
2020-12-11 11:49:07 +03:00
|
|
|
<span class="gh-content-status-draft gh-badge nowrap" title="Scheduled" data-tooltip="{{capitalize this.scheduledText}} to {{@post.emailRecipientFilter}} members">
|
2020-07-01 20:39:03 +03:00
|
|
|
Scheduled
|
|
|
|
</span>
|
2019-11-14 15:53:43 +03:00
|
|
|
{{/if}}
|
2017-11-10 20:36:27 +03:00
|
|
|
|
2020-07-01 20:39:03 +03:00
|
|
|
{{#if @post.isDraft}}
|
2021-02-19 15:51:30 +03:00
|
|
|
<span class="gh-content-status-draft gh-badge gh-badge-pink nowrap">
|
2020-07-01 20:39:03 +03:00
|
|
|
Draft
|
|
|
|
</span>
|
|
|
|
{{/if}}
|
2017-11-10 20:36:27 +03:00
|
|
|
|
2020-07-01 20:39:03 +03:00
|
|
|
{{#if @post.isPublished}}
|
2020-07-01 22:28:47 +03:00
|
|
|
<span class="gh-content-status-published nowrap">
|
2020-07-01 20:39:03 +03:00
|
|
|
Published
|
|
|
|
</span>
|
|
|
|
{{/if}}
|
2021-08-13 16:18:19 +03:00
|
|
|
|
|
|
|
{{#if @post.isSent}}
|
|
|
|
<span class="gh-content-status-published nowrap">
|
|
|
|
Sent
|
|
|
|
</span>
|
|
|
|
{{/if}}
|
2020-07-01 20:39:03 +03:00
|
|
|
</div>
|
|
|
|
</LinkTo>
|
|
|
|
</li>
|