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

19 lines
1.3 KiB
Cheetah

{{define "category"}}Licence{{end}}
{{define "preheader"}}Renew in one click to keep {{.InstanceName}} fully working after {{date .Expires}}.{{end}}
{{define "pill"}}{{template "chip" (dict "label" "Expiring soon" "tone" "pend")}}{{end}}
{{define "title"}}{{.InstanceName}} expires on {{shortDate .Expires}}{{end}}
{{define "body"}}
{{template "lead" (printf "%s's Free licence runs out on %s. Renewing takes one click and costs nothing." .InstanceName (date .Expires))}}
{{template "stats" (list
(dict "big" (plural (daysUntil .Expires) "day" "days") "label" "left on the licence" "tone" "pend")
(dict "big" (shortDate .Expires) "label" "expiry date" "tone" "none"))}}
{{template "button" (dict "label" "Renew in one click" "url" .PortalURL)}}
{{template "label" "Where you are"}}
{{template "timeline" (list
(dict "label" "Active" "date" (printf "Until %s" (shortDate .Expires)) "state" "now" "tone" "pend")
(dict "label" "Read-only" "date" "After expiry" "state" "next")
(dict "label" "Deleted" "date" "If never renewed" "state" "next"))}}
{{template "callout" (dict "tone" "pend" "title" "If you do nothing" "text" "The instance keeps running and monitoring, but stops accepting changes until it is renewed.")}}
{{end}}
{{define "why"}}the licence for {{.InstanceName}} expires within a week.{{end}}