{{define "subject"}}{{.InstanceName}} is now read-only{{end}} {{define "tone"}}down{{end}} {{define "category"}}Licence{{end}} {{define "pill"}}{{template "chip" (dict "label" "Read-only" "tone" "down")}}{{end}} {{define "title"}}{{.InstanceName}} is now read-only{{end}} {{define "body"}} {{template "lead" (printf "%s's Free licence has expired, so the instance is now read-only." .InstanceName)}} {{template "button" (dict "label" "Renew now" "url" .PortalURL)}} {{template "label" "What still works"}} {{template "rows" (list (dict "k" "Servers and agents" "v" "Running, keys kept") (dict "k" "Monitors" "v" "Still checking") (dict "k" "Changes" "v" "Disabled until renewed") (dict "k" "Deletion" "v" (or (and (not .DeleteOn.IsZero) (date .DeleteOn)) "Not scheduled")))}} {{template "timeline" (list (dict "label" "Active" "date" "Ended" "state" "done") (dict "label" "Read-only" "date" "Now" "state" "now" "tone" "down") (dict "label" "Deleted" "date" (or (and (not .DeleteOn.IsZero) (date .DeleteOn)) "Not scheduled") "state" "next"))}} {{if not .DeleteOn.IsZero}}{{template "callout" (dict "tone" "down" "title" "Deletion is scheduled" "text" (printf "If it is not renewed, the instance and everything in it will be deleted on %s, in %s." (date .DeleteOn) (plural (daysUntil .DeleteOn) "day" "days")))}}{{end}} {{end}} {{define "why"}}the licence for {{.InstanceName}} has expired.{{end}}