feat: Updated email templates
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
{{define "subject"}}[Vantage] {{.Topic}} {{.Email}}{{end}}
|
||||
{{define "title"}}New contact enquiry{{end}}
|
||||
{{define "tone"}}accent{{end}}
|
||||
{{define "category"}}Enquiry{{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
|
||||
@@ -8,6 +11,8 @@
|
||||
(dict "k" "Servers" "v" .Servers)
|
||||
(dict "k" "Topic" "v" .Topic)
|
||||
(dict "k" "Received" "v" .Received))}}
|
||||
Message:
|
||||
{{template "label" "Message"}}
|
||||
{{template "note" .Message}}
|
||||
{{template "small" (printf "Reply to this email to answer %s directly." .Email)}}
|
||||
{{end}}
|
||||
{{define "why"}}this inbox receives the contact form on the Vantage site.{{end}}
|
||||
|
||||
Reference in New Issue
Block a user