Files
vantage-shared/mail/templates/invite.txt.tmpl
T
2026-09-10 12:06:29 +00:00

21 lines
1.3 KiB
Cheetah

{{define "subject"}}You have been invited to {{.AccountName}} on Vantage{{end}}
{{define "tone"}}accent{{end}}
{{define "category"}}Account{{end}}
{{define "pill"}}{{template "chip" (dict "label" "Invitation" "tone" "accent")}}{{end}}
{{define "title"}}You have been invited to {{.AccountName}}{{end}}
{{define "body"}}
{{template "lead" (printf "You have been invited to join %s on Vantage, where the team manages its servers, agents and monitors." .AccountName)}}
{{template "button" (dict "label" "Accept invitation" "url" .Link)}}
{{template "rows" (list
(dict "k" "Account" "v" .AccountName)
(dict "k" "Invited address" "v" .Email)
(dict "k" "Link valid for" "v" (plural .TTLHours "hour" "hours")))}}
{{template "label" "Joining takes a minute"}}
{{template "steps" (list
(dict "t" "Accept the invitation" "d" "Open the link above from this inbox.")
(dict "t" "Choose your password" "d" "It is yours alone. Nobody else on the account can see it.")
(dict "t" "Sign in to Vantage HQ" "d" (printf "Use %s from then on." .Email)))}}
{{template "callout" (dict "tone" "none" "title" "Not expecting this?" "text" "Ignore it. Nothing happens until you open the link, and it expires on its own.")}}
{{end}}
{{define "why"}}someone on the {{.AccountName}} account invited {{.Email}}.{{end}}