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

20 lines
1.0 KiB
Cheetah

{{define "subject"}}{{.InstanceName}} renewed until {{shortDate .Expires}}{{end}}
{{define "tone"}}up{{end}}
{{define "category"}}Licence{{end}}
{{define "pill"}}{{template "chip" (dict "label" "Renewed" "tone" "up")}}{{end}}
{{define "title"}}{{.InstanceName}} is renewed{{end}}
{{define "body"}}
{{template "lead" (printf "Your Free licence for %s now runs until %s." .InstanceName (date .Expires))}}
{{template "timeline" (list
(dict "label" "Renewed" "date" "Today" "state" "done")
(dict "label" "Active" "date" (printf "Until %s" (shortDate .Expires)) "state" "now" "tone" "up")
(dict "label" "Reminder" "date" "A week before" "state" "next"))}}
{{template "rows" (list
(dict "k" "Instance" "v" .InstanceName)
(dict "k" "Plan" "v" "Free")
(dict "k" "Licence expires" "v" (date .Expires))
(dict "k" "Remaining" "v" (plural (daysUntil .Expires) "day" "days")))}}
{{template "p" "Nothing else changes. Your servers, agents and monitors carry on as they were."}}
{{end}}
{{define "why"}}the licence for {{.InstanceName}} was renewed.{{end}}