From 6ec4c85c4834649a507b2e9af951694dab149f9b Mon Sep 17 00:00:00 2001 From: Jakub Zych Date: Sat, 14 Nov 2026 18:44:49 +0100 Subject: [PATCH] fix(quick-261114-p5n): style the user mail layout like the framework's default layout - wrapper, header (logo or site name), 570px card and copyright footer inline, mirroring postcard's default layout - built-in copy of the default brand CSS before the brandCss and css slots, so saved Branding and mail.css still win - no template function calls; the header and footer sit behind if/with, so the layout renders without them on framework v0.6.x - header and text sections unchanged --- views/mail/layouts/user.htm | 246 +++++++++++++++++++++++++++++++++++- 1 file changed, 244 insertions(+), 2 deletions(-) diff --git a/views/mail/layouts/user.htm b/views/mail/layouts/user.htm index 75b8f74..fdf23e7 100644 --- a/views/mail/layouts/user.htm +++ b/views/mail/layouts/user.htm @@ -5,10 +5,252 @@ name = "User" + - + -
{{ .Content }}
+ +{{ if or .logoUrl .siteName }} + +{{ end }} + + + +{{ with .year }} + +{{ end }} +
+{{ if .logoUrl }}{{ else }}{{ .siteName }}{{ end }} +
+ + + + +
+ + + + +
+{{ .Content }} +
+
+
+ + + + + +