23 lines
1.5 KiB
Cheetah
23 lines
1.5 KiB
Cheetah
{{define "category"}}Licence{{end}}
|
|
{{define "preheader"}}Renew before {{date .DeleteOn}} to keep it. Deletion cannot be undone.{{end}}
|
|
{{define "pill"}}{{template "chip" (dict "label" "Deletion scheduled" "tone" "down")}}{{end}}
|
|
{{define "title"}}{{.InstanceName}} will be deleted {{.When}}{{end}}
|
|
{{define "body"}}
|
|
{{template "lead" (printf "%s and everything in it will be deleted %s, on %s." .InstanceName .When (date .DeleteOn))}}
|
|
{{template "stats" (list
|
|
(dict "big" (plural .DaysLeft "day" "days") "label" "until deletion" "tone" "down")
|
|
(dict "big" (shortDate .DeleteOn) "label" "deletion date" "tone" "none"))}}
|
|
{{template "button" (dict "label" "Keep this instance" "url" .PortalURL)}}
|
|
{{template "callout" (dict "tone" "down" "title" "This cannot be undone" "text" (printf "Servers, agents, monitors, workflows, history and settings in %s are removed permanently. They cannot be restored afterwards." .InstanceName))}}
|
|
{{template "timeline" (list
|
|
(dict "label" "Licence" "date" "Expired" "state" "done")
|
|
(dict "label" "Read-only" "date" "Now" "state" "now" "tone" "pend")
|
|
(dict "label" "Deleted" "date" (date .DeleteOn) "state" "next"))}}
|
|
{{template "rows" (list
|
|
(dict "k" "Instance" "v" .InstanceName)
|
|
(dict "k" "Current state" "v" "Read-only, licence expired")
|
|
(dict "k" "Deleted on" "v" (date .DeleteOn)))}}
|
|
{{template "small" "Renewed in the last few minutes? No action is needed. Renewing moves the deletion date with the licence."}}
|
|
{{end}}
|
|
{{define "why"}}{{.InstanceName}} is scheduled for deletion and this is its billing contact.{{end}}
|