feat: Changes to self hosted purchase
This commit is contained in:
@@ -71,11 +71,3 @@ func (s Sender) SendDeletionWarning(to, instanceName, portalURL string, deleteOn
|
||||
DeleteOn time.Time
|
||||
}{instanceName, portalURL, when, deleteOn})
|
||||
}
|
||||
|
||||
// SendLinkReminder chases a self-hosted customer who paid but never linked.
|
||||
func (s Sender) SendLinkReminder(to, instanceName string) error {
|
||||
return s.sendTemplate(to, "", "linkreminder", struct {
|
||||
InstanceName string
|
||||
PortalURL string
|
||||
}{instanceName, s.PublicURL})
|
||||
}
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
{{define "pill"}}{{template "chip" (dict "label" "Action needed" "tone" "pend")}}{{end}}
|
||||
{{define "title"}}Finish setting up {{.InstanceName}}{{end}}
|
||||
{{define "body"}}
|
||||
{{template "lead" (printf "Your subscription for %s is active, but the instance is not linked yet." .InstanceName)}}
|
||||
{{template "p" "Paste your install's ID in the portal to receive your licence."}}
|
||||
{{if .PortalURL}}{{template "button" (dict "label" "Link my install" "url" .PortalURL)}}{{end}}
|
||||
{{end}}
|
||||
@@ -1,8 +0,0 @@
|
||||
{{define "subject"}}Finish setting up {{.InstanceName}}{{end}}
|
||||
{{define "pill"}}{{template "chip" (dict "label" "Action needed" "tone" "pend")}}{{end}}
|
||||
{{define "title"}}Finish setting up {{.InstanceName}}{{end}}
|
||||
{{define "body"}}
|
||||
{{template "lead" (printf "Your subscription for %s is active, but the instance is not linked yet." .InstanceName)}}
|
||||
{{template "p" "Paste your install's ID in the portal to receive your licence."}}
|
||||
{{if .PortalURL}}{{template "button" (dict "label" "Link my install" "url" .PortalURL)}}{{end}}
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user