{{define "subject"}}{{.InstanceName}} expires on {{shortDate .Expires}}{{end}} {{define "tone"}}pend{{end}} {{define "category"}}Licence{{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" (date .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}}