feat: Updated email templates
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
{{define "title"}}New contact enquiry{{end}}
|
||||
{{define "category"}}Enquiry{{end}}
|
||||
{{define "preheader"}}{{.Topic}} from {{.Name}}: {{.Message}}{{end}}
|
||||
{{define "pill"}}{{if .Topic}}{{template "chip" (dict "label" .Topic "tone" "accent")}}{{end}}{{end}}
|
||||
{{define "title"}}New enquiry from {{.Name}}{{end}}
|
||||
{{define "body"}}
|
||||
{{template "lead" "Someone has used the contact form on the Vantage site."}}
|
||||
{{template "rows" (list
|
||||
@@ -7,5 +10,9 @@
|
||||
(dict "k" "Servers" "v" .Servers)
|
||||
(dict "k" "Topic" "v" .Topic)
|
||||
(dict "k" "Received" "v" .Received))}}
|
||||
{{template "label" "Message"}}
|
||||
{{template "note" .Message}}
|
||||
{{template "button" (dict "label" (printf "Reply to %s" .Name) "url" (printf "mailto:%s" .Email) "nofallback" true)}}
|
||||
{{template "small" (printf "Replying to this email also goes straight to %s." .Email)}}
|
||||
{{end}}
|
||||
{{define "why"}}this inbox receives the contact form on the Vantage site.{{end}}
|
||||
|
||||
Reference in New Issue
Block a user