summaryrefslogtreecommitdiffstats
path: root/utils/html.go
diff options
context:
space:
mode:
Diffstat (limited to 'utils/html.go')
-rw-r--r--utils/html.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/html.go b/utils/html.go
index 7bb594e07..1df336c52 100644
--- a/utils/html.go
+++ b/utils/html.go
@@ -86,6 +86,13 @@ func (t *HTMLTemplate) addDefaultProps() {
}
t.Props["Footer"] = localT("api.templates.email_footer")
+
+ if *Cfg.EmailSettings.FeedbackOrganization != "" {
+ t.Props["Organization"] = localT("api.templates.email_organization") + *Cfg.EmailSettings.FeedbackOrganization
+ } else {
+ t.Props["Organization"] = ""
+ }
+
t.Html["EmailInfo"] = template.HTML(localT("api.templates.email_info",
map[string]interface{}{"SupportEmail": Cfg.SupportSettings.SupportEmail, "SiteName": Cfg.TeamSettings.SiteName}))
}