+
+ {{#if (or @post.email @post.willEmail)}}
+ {{#if (eq @post.email.status "submitted")}}
+
+ {{@post.email.emailCount}}
+ {{gh-pluralize @post.email.emailCount "send"}}
+
+ {{/if}}
+ {{/if}}
+
+
+ {{/if}}
+
+ {{#if (eq @post.displayName "post")}}
+
+ {{#if (and @post.email.trackOpens (eq @post.email.status "submitted"))}}
+
+
+ {{#if this.isHovered}}
+ {{@post.email.openedCount}}
+ {{else}}
+ {{@post.email.openRate}}%
+ {{/if}}
+
+ {{@post.email.openRate}}% opens
+
+ {{/if}}
+
+ {{/if}}
+
{{#if @post.isScheduled}}
-
+
Scheduled
{{/if}}
@@ -47,30 +78,6 @@
Published
{{/if}}
-
- {{#if this.session.user.isOwnerOrAdmin}}
- {{#if (or @post.email (and @post.isScheduled this.sendEmailWhenPublished))}}
- {{#if (eq @post.email.status "failed")}}
-
- {{svg-jar "send-email" class="stroke-red"}}
-
- {{else}}
- {{#if @post.isScheduled}}
-
- {{svg-jar "send-email" class="stroke-green-d2"}}
-
- {{else}}
-
- {{svg-jar "send-email" class="stroke-midgrey"}}
-
- {{/if}}
- {{/if}}
- {{/if}}
- {{/if}}
-
-