feat: account dispute emails

This commit is contained in:
2026-09-10 13:21:04 +00:00
parent 5c87505820
commit 50ab63ff13
12 changed files with 210 additions and 2 deletions
+10
View File
@@ -0,0 +1,10 @@
{{define "subject"}}Your Vantage account {{.AccountName}} is locked{{end}}
{{define "pill"}}{{template "chip" (dict "label" "Account locked" "tone" "pend")}}{{end}}
{{define "title"}}Your account is locked{{end}}
{{define "body"}}
{{template "lead" (printf "We have locked the Vantage account %s. Reason: %s." .AccountName .Reason)}}
{{template "p" "Nothing has been deleted. While the account is locked, sign-in is paused, cloud instances are offline and billing is paused."}}
{{if .InstanceRows}}{{template "rows" .InstanceRows}}{{end}}
{{template "p" (printf "If you believe this is a mistake, reply to %s before %s, quoting dispute reference %s." .DisputeEmail (date .DisputeBy) .DisputeID)}}
{{template "p" "If the dispute is not upheld, the account will be terminated and its cloud instances deleted."}}
{{end}}