From d5a9465ca51f4efaee6af03dbd14f9f4ca3cd094 Mon Sep 17 00:00:00 2001 From: Peter Zimon Date: Thu, 14 Nov 2019 14:30:49 +0100 Subject: [PATCH] Design for minimal email stats --- .../gh-post-settings-menu/email.hbs | 33 ++++++++++++++++--- 1 file changed, 28 insertions(+), 5 deletions(-) diff --git a/ghost/admin/app/templates/components/gh-post-settings-menu/email.hbs b/ghost/admin/app/templates/components/gh-post-settings-menu/email.hbs index 3e7e3bac0d..7c34b4d8f5 100644 --- a/ghost/admin/app/templates/components/gh-post-settings-menu/email.hbs +++ b/ghost/admin/app/templates/components/gh-post-settings-menu/email.hbs @@ -7,11 +7,34 @@
{{#if post.email}} {{!-- Mail has already been sent --}} -

Subject: {{this.post.email.subject}}

-

Status: {{this.post.email.status}}

-

Sent on: {{gh-format-post-time this.post.email.createdAtUTC}}

-

Sent to {{pluralize this.post.email.emailCount "member"}}

-

+
+
+
+ {{svg-jar "send-email" class="w7 h7 stroke-darkgrey"}} +
+
+

Post was sent by email to

+

{{pluralize this.post.email.emailCount "member"}}

+
+
+
+ + + + + + + + + + + +
Subject:{{this.post.email.subject}}
Sent on:{{gh-format-post-time this.post.email.createdAtUTC}}
+
+
+

+
+
{{else}} {{!-- Mail not sent yet --}} {{#if mailgunError}}