# HG changeset patch # User Bernhard Reiter # Date 1554202818 -7200 # Node ID a1320a9696fa83c0b8df70a6cd08039e819fbcc2 # Parent 95e40c87a943a47fce5bb4059f701f827f0cd608# Parent 92812bf2f0083c55e87d5d048c26cbda7573d55d merge diff -r 95e40c87a943 -r a1320a9696fa pkg/controllers/user.go --- a/pkg/controllers/user.go Tue Apr 02 12:17:52 2019 +0200 +++ b/pkg/controllers/user.go Tue Apr 02 13:00:18 2019 +0200 @@ -403,10 +403,10 @@ var bodyTmpl *template.Template if userData.Role == "sys_admin" { - subject = "Sysadmin Notification TEST" + subject = "Gemma: Sysadmin Notification TEST" bodyTmpl = testSysadminNotifyMailTmpl } else if userData.Role == "waterway_admin" { - subject = "Waterway Admin Notification TEST" + subject = "Gemma: Waterway Admin Notification TEST" bodyTmpl = testWWAdminNotifyMailTmpl } else { err = JSONError{ diff -r 95e40c87a943 -r a1320a9696fa pkg/imports/email.go --- a/pkg/imports/email.go Tue Apr 02 12:17:52 2019 +0200 +++ b/pkg/imports/email.go Tue Apr 02 13:00:18 2019 +0200 @@ -28,7 +28,7 @@ const ( selectEmailSQL = `SELECT email_address FROM users.list_users WHERE username = $1` - importNotificationMailSubject = `import notification mail` + importNotificationMailSubject = `Gemma: import notification mail` ) var ( @@ -38,11 +38,11 @@ a {{ .Description }} import on server {{ .Server }} triggered this email notification. -{{ if eq .State "accepted" }}The imported data were successfully integrated into the database.{{ end -}} -{{ if eq .State "unchanged" }}The import has not changed any data in the database.{{ end -}} -{{ if eq .State "failed" }}The import failed for some reasons.{{ end -}} +{{ if eq .State "accepted" }}The imported data were successfully integrated into the database. {{ end -}} +{{ if eq .State "unchanged" }}The import has not changed any data in the database. {{ end -}} +{{ if eq .State "failed" }}The import failed for some reasons. {{ end -}} {{ if eq .State "pending" }}The imported data could be integrated into the database -but your final decision is needed.{{ end -}} +but your final decision is needed. {{ end -}} Please follow this link to have a closer look at the details: