diff --git a/app/app.go b/app/app.go
index 6f34ff4f42..3cfe92f7e1 100644
--- a/app/app.go
+++ b/app/app.go
@@ -119,6 +119,11 @@ func (a *App) initJobs() {
if jobsActiveUsersInterface != nil {
a.srv.Jobs.ActiveUsers = jobsActiveUsersInterface(a)
}
+
+ if jobsCloudInterface != nil {
+ a.srv.Jobs.Cloud = jobsCloudInterface(a.srv)
+ }
+
a.srv.Jobs.Workers = a.srv.Jobs.InitWorkers()
a.srv.Jobs.Schedulers = a.srv.Jobs.InitSchedulers()
}
diff --git a/app/email.go b/app/email.go
index 38fc181aa3..3cf2319854 100644
--- a/app/email.go
+++ b/app/email.go
@@ -11,6 +11,7 @@ import (
"net/url"
"path"
"strings"
+ "time"
"net/http"
@@ -633,3 +634,135 @@ func (es *EmailService) SendOverUserLimitWarningEmail(email string, locale strin
return true, nil
}
+
+func (es *EmailService) SendOverUserLimitThirtyDayWarningEmail(email string, locale string, siteURL string) (bool, *model.AppError) {
+ T := utils.GetUserTranslations(locale)
+
+ subject := T("api.templates.over_limit_30_days_subject")
+
+ bodyPage := es.newEmailTemplate("over_user_limit_30_days_body", locale)
+ bodyPage.Props["SiteURL"] = siteURL
+ bodyPage.Props["Title"] = T("api.templates.over_limit_30_days_title")
+ bodyPage.Props["Info1"] = T("api.templates.over_limit_30_days_info1")
+ bodyPage.Props["Info2"] = T("api.templates.over_limit_30_days_info2")
+ bodyPage.Props["Info2Item1"] = T("api.templates.over_limit_30_days_info2_item1")
+ bodyPage.Props["Info2Item2"] = T("api.templates.over_limit_30_days_info2_item2")
+ bodyPage.Props["Info2Item3"] = T("api.templates.over_limit_30_days_info2_item3")
+ bodyPage.Props["Button"] = T("api.templates.over_limit_fix_now")
+ bodyPage.Props["EmailUs"] = T("api.templates.email_us_anytime_at")
+
+ bodyPage.Props["Footer"] = T("api.templates.copyright")
+
+ if err := es.sendMail(email, subject, bodyPage.Render()); err != nil {
+ return false, model.NewAppError("SendOverUserLimitWarningEmail", "api.user.send_password_reset.send.app_error", nil, "err="+err.Message, http.StatusInternalServerError)
+ }
+
+ return true, nil
+}
+
+func (es *EmailService) SendOverUserLimitNinetyDayWarningEmail(email string, locale string, siteURL string, overLimitDate string) (bool, *model.AppError) {
+ T := utils.GetUserTranslations(locale)
+
+ subject := T("api.templates.over_limit_90_days_subject")
+
+ bodyPage := es.newEmailTemplate("over_user_limit_90_days_body", locale)
+ bodyPage.Props["SiteURL"] = siteURL
+ bodyPage.Props["Title"] = T("api.templates.over_limit_90_days_title")
+ bodyPage.Props["Info1"] = T("api.templates.over_limit_90_days_info1", map[string]interface{}{"OverLimitDate": overLimitDate})
+ bodyPage.Props["Info2"] = T("api.templates.over_limit_90_days_info2")
+ bodyPage.Props["Info3"] = T("api.templates.over_limit_90_days_info3")
+ bodyPage.Props["Info4"] = T("api.templates.over_limit_90_days_info4")
+ bodyPage.Props["Button"] = T("api.templates.over_limit_fix_now")
+ bodyPage.Props["EmailUs"] = T("api.templates.email_us_anytime_at")
+
+ bodyPage.Props["Footer"] = T("api.templates.copyright")
+
+ if err := es.sendMail(email, subject, bodyPage.Render()); err != nil {
+ return false, model.NewAppError("SendOverUserLimitWarningEmail", "api.user.send_password_reset.send.app_error", nil, "err="+err.Message, http.StatusInternalServerError)
+ }
+
+ return true, nil
+}
+
+func (es *EmailService) SendOverUserLimitWorkspaceSuspendedWarningEmail(email string, locale string, siteURL string) (bool, *model.AppError) {
+ T := utils.GetUserTranslations(locale)
+
+ subject := T("api.templates.over_limit_suspended_subject")
+
+ bodyPage := es.newEmailTemplate("over_user_limit_workspace_suspended_body", locale)
+ bodyPage.Props["SiteURL"] = siteURL
+ bodyPage.Props["Title"] = T("api.templates.over_limit_suspended_title")
+ bodyPage.Props["Info1"] = T("api.templates.over_limit_suspended_info1")
+ bodyPage.Props["Info2"] = T("api.templates.over_limit_suspended_info2")
+ bodyPage.Props["Button"] = T("api.templates.over_limit_suspended_contact_support")
+ bodyPage.Props["EmailUs"] = T("api.templates.email_us_anytime_at")
+
+ bodyPage.Props["Footer"] = T("api.templates.copyright")
+
+ if err := es.sendMail(email, subject, bodyPage.Render()); err != nil {
+ return false, model.NewAppError("SendOverUserLimitWarningEmail", "api.user.send_password_reset.send.app_error", nil, "err="+err.Message, http.StatusInternalServerError)
+ }
+
+ return true, nil
+}
+
+func (es *EmailService) SendOverUserFourteenDayWarningEmail(email string, locale string, siteURL string, overLimitDate string) (bool, *model.AppError) {
+ T := utils.GetUserTranslations(locale)
+
+ subject := T("api.templates.over_limit_14_days_subject")
+
+ bodyPage := es.newEmailTemplate("over_user_limit_7_days_body", locale)
+ bodyPage.Props["SiteURL"] = siteURL
+ bodyPage.Props["Title"] = T("api.templates.over_limit_14_days_title")
+ bodyPage.Props["Info1"] = T("api.templates.over_limit_14_days_info1", map[string]interface{}{"OverLimitDate": overLimitDate})
+ bodyPage.Props["Button"] = T("api.templates.over_limit_fix_now")
+ bodyPage.Props["EmailUs"] = T("api.templates.email_us_anytime_at")
+
+ bodyPage.Props["Footer"] = T("api.templates.copyright")
+
+ if err := es.sendMail(email, subject, bodyPage.Render()); err != nil {
+ return false, model.NewAppError("SendOverUserLimitWarningEmail", "api.user.send_password_reset.send.app_error", nil, "err="+err.Message, http.StatusInternalServerError)
+ }
+
+ return true, nil
+}
+
+func (es *EmailService) SendOverUserSevenDayWarningEmail(email string, locale string, siteURL string) (bool, *model.AppError) {
+ T := utils.GetUserTranslations(locale)
+
+ subject := T("api.templates.over_limit_7_days_subject")
+
+ bodyPage := es.newEmailTemplate("over_user_limit_7_days_body", locale)
+ bodyPage.Props["SiteURL"] = siteURL
+ bodyPage.Props["Title"] = T("api.templates.over_limit_7_days_title")
+ bodyPage.Props["Info1"] = T("api.templates.over_limit_7_days_info1")
+ bodyPage.Props["Button"] = T("api.templates.over_limit_fix_now")
+ bodyPage.Props["EmailUs"] = T("api.templates.email_us_anytime_at")
+
+ bodyPage.Props["Footer"] = T("api.templates.copyright")
+
+ if err := es.sendMail(email, subject, bodyPage.Render()); err != nil {
+ return false, model.NewAppError("SendOverUserLimitWarningEmail", "api.user.send_password_reset.send.app_error", nil, "err="+err.Message, http.StatusInternalServerError)
+ }
+
+ return true, nil
+}
+
+func (es *EmailService) SendSuspensionEmailToSupport(email string, installationID string, customerID string, subscriptionID string, siteURL string, userCount int64) (bool, *model.AppError) {
+ // Localization not needed
+
+ subject := fmt.Sprintf("Cloud Installation %s Scheduled Suspension", installationID)
+ bodyPage := es.newEmailTemplate("over_user_limit_support_body", "en")
+ bodyPage.Props["CustomerID"] = customerID
+ bodyPage.Props["SiteURL"] = siteURL
+ bodyPage.Props["SubscriptionID"] = subscriptionID
+ bodyPage.Props["InstallationID"] = installationID
+ bodyPage.Props["SuspensionDate"] = time.Now().AddDate(0, 0, 61).Format("2006-01-02")
+ bodyPage.Props["UserCount"] = userCount
+
+ if err := es.sendMail(email, subject, bodyPage.Render()); err != nil {
+ return false, model.NewAppError("SendOverUserLimitWarningEmail", "api.user.send_password_reset.send.app_error", nil, "err="+err.Message, http.StatusInternalServerError)
+ }
+
+ return true, nil
+}
diff --git a/app/enterprise.go b/app/enterprise.go
index f43a7b4cf1..2596bac28d 100644
--- a/app/enterprise.go
+++ b/app/enterprise.go
@@ -96,6 +96,12 @@ func RegisterJobsActiveUsersInterface(f func(*App) tjobs.ActiveUsersJobInterface
jobsActiveUsersInterface = f
}
+var jobsCloudInterface func(*Server) ejobs.CloudJobInterface
+
+func RegisterJobsCloudInterface(f func(*Server) ejobs.CloudJobInterface) {
+ jobsCloudInterface = f
+}
+
var jobsExpiryNotifyInterface func(*App) tjobs.ExpiryNotifyJobInterface
func RegisterJobsExpiryNotifyJobInterface(f func(*App) tjobs.ExpiryNotifyJobInterface) {
diff --git a/einterfaces/jobs/cloud_interface.go b/einterfaces/jobs/cloud_interface.go
new file mode 100644
index 0000000000..7a70e2a0d5
--- /dev/null
+++ b/einterfaces/jobs/cloud_interface.go
@@ -0,0 +1,11 @@
+// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
+// See LICENSE.txt for license information.
+
+package jobs
+
+import "github.com/mattermost/mattermost-server/v5/model"
+
+type CloudJobInterface interface {
+ MakeWorker() model.Worker
+ MakeScheduler() model.Scheduler
+}
diff --git a/i18n/en.json b/i18n/en.json
index 56b2ed046a..3caf13f4e3 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -2726,6 +2726,86 @@
"id": "api.templates.mfa_deactivated_body.title",
"translation": "Multi-factor authentication was removed"
},
+ {
+ "id": "api.templates.over_limit_14_days_info1",
+ "translation": "Just a reminder that we have not received payment for your Mattermost subscription invoiced on {{ .OverLimitDate }}. We will soon begin a process to suspend your service if payment is not received."
+ },
+ {
+ "id": "api.templates.over_limit_14_days_subject",
+ "translation": "Payment is overdue for your Mattermost Cloud subscription"
+ },
+ {
+ "id": "api.templates.over_limit_14_days_title",
+ "translation": "Payment not received"
+ },
+ {
+ "id": "api.templates.over_limit_30_days_info1",
+ "translation": "There’s still time to keep your Mattermost Cloud workspace active by resolving issues with your payment method. To avoid suspension update your method of payment."
+ },
+ {
+ "id": "api.templates.over_limit_30_days_info2",
+ "translation": "If no action is taken, your workspace will be suspended"
+ },
+ {
+ "id": "api.templates.over_limit_30_days_info2_item1",
+ "translation": "You won't be able to log into your workspace"
+ },
+ {
+ "id": "api.templates.over_limit_30_days_info2_item2",
+ "translation": "You won’t be able to update payment information without contacting our support team"
+ },
+ {
+ "id": "api.templates.over_limit_30_days_info2_item3",
+ "translation": "You will lose access to your message history"
+ },
+ {
+ "id": "api.templates.over_limit_30_days_subject",
+ "translation": " Act to keep your Mattermost Cloud subscription"
+ },
+ {
+ "id": "api.templates.over_limit_30_days_title",
+ "translation": "Mattermost Cloud Workspace Suspension"
+ },
+ {
+ "id": "api.templates.over_limit_7_days_info1",
+ "translation": "Mattermost couldn’t process your most recent automatic payment. To keep your service active, please add payment details as soon as possible or your service may be suspended."
+ },
+ {
+ "id": "api.templates.over_limit_7_days_subject",
+ "translation": "Payment is overdue for your Mattermost Cloud subscription"
+ },
+ {
+ "id": "api.templates.over_limit_7_days_title",
+ "translation": "No payment method on file"
+ },
+ {
+ "id": "api.templates.over_limit_90_days_info1",
+ "translation": "This is a final reminder that we have not received payment for your Mattermost Cloud workspace, which has been overdue since {{ .OverLimitDate }}. Tomorrow we will suspend your service."
+ },
+ {
+ "id": "api.templates.over_limit_90_days_info2",
+ "translation": "To avoid suspension, add your payment information"
+ },
+ {
+ "id": "api.templates.over_limit_90_days_info3",
+ "translation": "Once your workspace has been suspended, you will not be able to log in to your account or update payment information. You will need to contact our support team to re-activate your service."
+ },
+ {
+ "id": "api.templates.over_limit_90_days_info4",
+ "translation": "Once your workspace is suspended, all content and data within your workspace will be deleted within 1-3 months."
+ },
+ {
+ "id": "api.templates.over_limit_90_days_subject",
+ "translation": "Your Mattermost Cloud subscription will soon be suspended"
+ },
+ {
+ "id": "api.templates.over_limit_90_days_title",
+ "translation": "Your Mattermost Cloud workspace suspension is scheduled for tomorrow"
+ },
+ {
+ "id": "api.templates.over_limit_fix_now",
+ "translation": "Fix Now"
+ },
{
"id": "api.templates.over_limit_info1",
"translation": "It looks like you have more than 10 users in your workspace which is beyond the free tier limits of Mattermost Cloud Professional. To avoid any disruption in your Mattermost workspace, please upgrade."
@@ -2738,6 +2818,26 @@
"id": "api.templates.over_limit_subject",
"translation": "Mattermost Cloud Workspace Over User Limit"
},
+ {
+ "id": "api.templates.over_limit_suspended_contact_support",
+ "translation": "Contact Support"
+ },
+ {
+ "id": "api.templates.over_limit_suspended_info1",
+ "translation": "Your Mattermost workspace has been suspended. All contents and data within your workspace will be deleted within 1-3 months."
+ },
+ {
+ "id": "api.templates.over_limit_suspended_info2",
+ "translation": "Contact us to reactivate your workspace."
+ },
+ {
+ "id": "api.templates.over_limit_suspended_subject",
+ "translation": "Your Mattermost Cloud subscription has been suspended"
+ },
+ {
+ "id": "api.templates.over_limit_suspended_title",
+ "translation": "Mattermost Cloud Workspace suspended"
+ },
{
"id": "api.templates.over_limit_title",
"translation": "Your workspace is over the user limit for the free tier"
diff --git a/jobs/jobs_watcher.go b/jobs/jobs_watcher.go
index ae6898c48e..42f9eb8d1a 100644
--- a/jobs/jobs_watcher.go
+++ b/jobs/jobs_watcher.go
@@ -149,6 +149,13 @@ func (watcher *Watcher) PollAndNotify() {
default:
}
}
+ } else if job.Type == model.JOB_TYPE_CLOUD {
+ if watcher.workers.Cloud != nil {
+ select {
+ case watcher.workers.Cloud.JobChannel() <- *job:
+ default:
+ }
+ }
}
}
}
diff --git a/jobs/schedulers.go b/jobs/schedulers.go
index eab27939ed..481f349be2 100644
--- a/jobs/schedulers.go
+++ b/jobs/schedulers.go
@@ -73,6 +73,10 @@ func (srv *JobServer) InitSchedulers() *Schedulers {
schedulers.schedulers = append(schedulers.schedulers, productNoticesInterface.MakeScheduler())
}
+ if cloudInterface := srv.Cloud; cloudInterface != nil {
+ schedulers.schedulers = append(schedulers.schedulers, cloudInterface.MakeScheduler())
+ }
+
schedulers.nextRunTimes = make([]*time.Time, len(schedulers.schedulers))
return schedulers
}
diff --git a/jobs/server.go b/jobs/server.go
index bf3c721b04..212a3b80a2 100644
--- a/jobs/server.go
+++ b/jobs/server.go
@@ -28,6 +28,7 @@ type JobServer struct {
ExpiryNotify tjobs.ExpiryNotifyJobInterface
ProductNotices tjobs.ProductNoticesJobInterface
ActiveUsers tjobs.ActiveUsersJobInterface
+ Cloud ejobs.CloudJobInterface
}
func NewJobServer(configService configservice.ConfigService, store store.Store) *JobServer {
diff --git a/jobs/workers.go b/jobs/workers.go
index 679bffa744..759f895066 100644
--- a/jobs/workers.go
+++ b/jobs/workers.go
@@ -27,6 +27,7 @@ type Workers struct {
ExpiryNotify model.Worker
ProductNotices model.Worker
ActiveUsers model.Worker
+ Cloud model.Worker
listenerId string
}
@@ -80,6 +81,11 @@ func (srv *JobServer) InitWorkers() *Workers {
if productNoticesInterface := srv.ProductNotices; productNoticesInterface != nil {
workers.ProductNotices = productNoticesInterface.MakeWorker()
}
+
+ if cloudInterface := srv.Cloud; cloudInterface != nil {
+ workers.Cloud = cloudInterface.MakeWorker()
+ }
+
return workers
}
@@ -131,6 +137,10 @@ func (workers *Workers) Start() *Workers {
go workers.ProductNotices.Run()
}
+ if workers.Cloud != nil {
+ go workers.Cloud.Run()
+ }
+
go workers.Watcher.Start()
})
@@ -239,6 +249,10 @@ func (workers *Workers) Stop() *Workers {
workers.ProductNotices.Stop()
}
+ if workers.Cloud != nil {
+ workers.Cloud.Stop()
+ }
+
mlog.Info("Stopped workers")
return workers
diff --git a/model/cloud.go b/model/cloud.go
index 511fac3a0c..e4fddbcde8 100644
--- a/model/cloud.go
+++ b/model/cloud.go
@@ -81,6 +81,7 @@ type Subscription struct {
EndAt int64 `json:"end_at"`
CreateAt int64 `json:"create_at"`
Seats int `json:"seats"`
+ Status string `json:"status"`
DNS string `json:"dns"`
IsPaidTier string `json:"is_paid_tier"`
LastInvoice *Invoice `json:"last_invoice"`
diff --git a/model/feature_flags.go b/model/feature_flags.go
index 2646da2c0c..316c7ffb9a 100644
--- a/model/feature_flags.go
+++ b/model/feature_flags.go
@@ -7,8 +7,12 @@ type FeatureFlags struct {
// Exists only for unit and manual testing.
// When set to a value, will be returned by the ping endpoint.
TestFeature string
+
+ // Toggle on and off scheduled jobs for cloud user limit emails see MM-29999
+ CloudDelinquentEmailJobsEnabled bool
}
func (f *FeatureFlags) SetDefaults() {
f.TestFeature = "off"
+ f.CloudDelinquentEmailJobsEnabled = false
}
diff --git a/model/job.go b/model/job.go
index a4bb30a1e2..072bfb2bac 100644
--- a/model/job.go
+++ b/model/job.go
@@ -22,6 +22,7 @@ const (
JOB_TYPE_EXPIRY_NOTIFY = "expiry_notify"
JOB_TYPE_PRODUCT_NOTICES = "product_notices"
JOB_TYPE_ACTIVE_USERS = "active_users"
+ JOB_TYPE_CLOUD = "cloud"
JOB_STATUS_PENDING = "pending"
JOB_STATUS_IN_PROGRESS = "in_progress"
@@ -65,6 +66,7 @@ func (j *Job) IsValid() *AppError {
case JOB_TYPE_PRODUCT_NOTICES:
case JOB_TYPE_EXPIRY_NOTIFY:
case JOB_TYPE_ACTIVE_USERS:
+ case JOB_TYPE_CLOUD:
default:
return NewAppError("Job.IsValid", "model.job.is_valid.type.app_error", nil, "id="+j.Id, http.StatusBadRequest)
}
diff --git a/model/system.go b/model/system.go
index 72d2f5ab9e..4e76c95932 100644
--- a/model/system.go
+++ b/model/system.go
@@ -33,6 +33,8 @@ const (
SYSTEM_WARN_METRIC_LAST_RUN_TIMESTAMP_KEY = "LastWarnMetricRunTimestamp"
AWS_METERING_REPORT_INTERVAL = 1
AWS_METERING_DIMENSION_USAGE_HRS = "UsageHrs"
+ USER_LIMIT_OVERAGE_CYCLE_END_DATE = "UserLimitOverageCycleEndDate"
+ OVER_USER_LIMIT_FORGIVEN_COUNT = "OverUserLimitForgivenCount"
)
const (
diff --git a/templates/over_user_limit_30_days_body.html b/templates/over_user_limit_30_days_body.html
new file mode 100644
index 0000000000..85ba25fbfe
--- /dev/null
+++ b/templates/over_user_limit_30_days_body.html
@@ -0,0 +1,106 @@
+{{define "over_user_limit_30_days_body"}}
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ .Props.Title }}
+ |
+
+
+
+ {{ .Props.Info1 }}
+
+ {{ .Props.Button }}
+
+ {{.Props.Info2}}
+
+
+ |
+
+
+ | {{ .Props.Info2Item1 }} |
+
+
+ | {{ .Props.Info2Item2 }} |
+
+
+ | {{ .Props.Info2Item3 }} |
+
+
+ |
+
+
+ |
+
+
+
+
+
+
+
+ |
+
+ {{.Props.Organization}}
+ {{.Props.Footer}}
+
+ |
+
+
+
+ |
+
+
+ |
+
+
+
+{{end}}
diff --git a/templates/over_user_limit_7_days_body.html b/templates/over_user_limit_7_days_body.html
new file mode 100644
index 0000000000..3549360666
--- /dev/null
+++ b/templates/over_user_limit_7_days_body.html
@@ -0,0 +1,92 @@
+{{define "over_user_limit_7_days_body"}}
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ .Props.Title }}
+ |
+
+
+
+ {{ .Props.Info1 }}
+ {{.Props.Info2}}
+
+ {{ .Props.Button }}
+
+ |
+
+
+ |
+
+
+
+
+
+
+
+ |
+
+ {{.Props.Organization}}
+ {{.Props.Footer}}
+
+ |
+
+
+
+ |
+
+
+ |
+
+
+
+{{end}}
diff --git a/templates/over_user_limit_90_days_body.html b/templates/over_user_limit_90_days_body.html
new file mode 100644
index 0000000000..ddc14c1fd2
--- /dev/null
+++ b/templates/over_user_limit_90_days_body.html
@@ -0,0 +1,94 @@
+{{define "over_user_limit_90_days_body"}}
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ .Props.Title }}
+ |
+
+
+
+ {{ .Props.Info1 }}
+ {{.Props.Info2}}
+
+ {{ .Props.Button }}
+
+ {{.Props.Info3}}
+ {{.Props.Info4}}
+ |
+
+
+ |
+
+
+
+
+
+
+
+ |
+
+ {{.Props.Organization}}
+ {{.Props.Footer}}
+
+ |
+
+
+
+ |
+
+
+ |
+
+
+
+{{end}}
diff --git a/templates/over_user_limit_support_body.html b/templates/over_user_limit_support_body.html
new file mode 100644
index 0000000000..e11c76ace8
--- /dev/null
+++ b/templates/over_user_limit_support_body.html
@@ -0,0 +1,6 @@
+{{define "over_user_limit_support_body"}}
+Installation with ID: {{ .Props.InstallationID }} has been in arrears for over 30 days, and is scheduled for suspension on {{ .Props.SuspensionDate }}
+Site URL: {{ .Props.SiteURL }}
+Subscription ID: {{ .Props.SubscriptionID }}
+Number of registered users: {{ .Props.UserCount }}
+{{end}}
diff --git a/templates/over_user_limit_workspace_suspended_body.html b/templates/over_user_limit_workspace_suspended_body.html
new file mode 100644
index 0000000000..3d70221de3
--- /dev/null
+++ b/templates/over_user_limit_workspace_suspended_body.html
@@ -0,0 +1,92 @@
+{{define "over_user_limit_workspace_suspended_body"}}
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ .Props.Title }}
+ |
+
+
+
+ {{ .Props.Info1 }}
+ {{.Props.Info2}}
+
+ {{ .Props.Button }}
+
+ |
+
+
+ |
+
+
+
+
+
+
+
+ |
+
+ {{.Props.Organization}}
+ {{.Props.Footer}}
+
+ |
+
+
+
+ |
+
+
+ |
+
+
+
+{{end}}