From 45f929868a83d846ce2ee98d4cdeea9412c7a330 Mon Sep 17 00:00:00 2001 From: Pavel Mineev Date: Fri, 24 Jan 2020 03:29:36 +0300 Subject: [PATCH] fix name line break and add styles for blockquote --- backend/app/notify/email.go | 50 +++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 27 deletions(-) diff --git a/backend/app/notify/email.go b/backend/app/notify/email.go index 20622da0..0908ce49 100644 --- a/backend/app/notify/email.go +++ b/backend/app/notify/email.go @@ -122,6 +122,11 @@ const ( p { margin: 0 0 12px; } + blockquote { + margin: 10px 0; + padding: 12px 12px 1px 12px; + background: rgba(255,255,255,.5) + } @@ -130,40 +135,31 @@ const (

Remark42

New reply from {{.UserName}} on your comment{{if .PostTitle}} to «{{.PostTitle}}»{{ end }}
-
-
- - {{.ParentUserName}} - {{.ParentCommentDate.Format "02.01.2006 at 15:04"}} - Show -
-
- {{.ParentCommentText}} -
+
+ + {{.ParentUserName}} + {{.ParentCommentDate.Format "02.01.2006 at 15:04"}} + Show
-
-
- -
- {{.UserName}} -
-
- {{.CommentDate.Format "02.01.2006 at 15:04"}} -
+
+ {{.ParentCommentText}} +
+
+
+ + {{.UserName}} + {{.CommentDate.Format "02.01.2006 at 15:04"}} Reply
-
- {{.CommentText}} -
+
{{.CommentText}}
Sent to {{.Email}} for {{.ParentUserName}} -
- Unsubscribe - -
[{{.CommentDate.Format "02.01.2006 at 15:04"}}]
-
+
+ Unsubscribe + +
[{{.CommentDate.Format "02.01.2006 at 15:04"}}]