PLT-2971 Added email footer for address (#3319)
* Added email footer for address * added default * Update html.go * Changed according to PM
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
4e38796e69
Коммит
3f333678d8
@@ -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}))
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user