feat: Updated email templates

This commit is contained in:
2026-09-10 12:06:29 +00:00
parent 059949674d
commit e1ad2467d2
34 changed files with 896 additions and 163 deletions
+16 -4
View File
@@ -1,7 +1,19 @@
{{define "title"}}Your licence key{{end}}
{{define "category"}}Licence{{end}}
{{define "preheader"}}Paste this key into Settings, Licence on {{.InstanceName}}.{{end}}
{{define "pill"}}{{template "chip" (dict "label" "Licence key" "tone" "accent")}}{{end}}
{{define "title"}}Your licence key for {{.InstanceName}}{{end}}
{{define "body"}}
{{template "lead" (printf "Your licence for %s is below." .InstanceName)}}
{{template "p" "Paste it into Settings → Licence on your Vantage install:"}}
{{template "lead" (printf "Here is the signed licence for %s. It activates that install and no other." .InstanceName)}}
{{template "label" "Install it in three steps"}}
{{template "steps" (list
(dict "t" "Open your Vantage install" "d" "Sign in as an administrator.")
(dict "t" "Go to Settings → Licence" "d" "The current licence and its expiry are shown there.")
(dict "t" "Paste the key and save" "d" "Copy the whole block below, from the first character to the last."))}}
{{template "label" "Licence key"}}
{{template "well" .Blob}}
{{template "p" "The licence is signed public data, not a secret - it is useless on any instance other than the one it names."}}
{{template "rows" (list
(dict "k" "Instance" "v" .InstanceName)
(dict "k" "Issued" "v" (stamp .Issued)))}}
{{template "callout" (dict "tone" "accent" "title" "Safe to keep in email" "text" "The licence is signed public data, not a secret. It is useless on any instance other than the one it names.")}}
{{end}}
{{define "why"}}a licence was issued for {{.InstanceName}}.{{end}}