changeset 5372:5d6aa584b4fb extented-report

Streamlined the text templates for test emails.
author Thomas Junk <thomas.junk@intevation.de>
date Thu, 24 Jun 2021 14:13:14 +0200
parents 0de64b3017ac
children dbae10503ee6
files pkg/controllers/user.go
diffstat 1 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/pkg/controllers/user.go	Thu Jun 24 14:04:47 2021 +0200
+++ b/pkg/controllers/user.go	Thu Jun 24 14:13:14 2021 +0200
@@ -84,28 +84,28 @@
 	testSysadminNotifyMailTmpl = template.Must(
 		template.New("sysadmin").Parse(`Dear {{ .User }},
 
-this is a test email for the Gemma System Errors notification service.  You
+this is a test email from the Gemma System Errors notification service.  You
 recieved this mail, because a System Administrator triggered the test mail
 sending function at {{ .Timestamp }}.
 
-When a critical system error is detected an automated mail will be send to
-the address: {{ .Email }} with details on the error condition.`))
+When a critical system error is detected an automated mail will be sent to
+{{ .Email }} with details on the error condition.`))
 
 	testWWAdminNotifyMailTmpl = template.Must(
 		template.New("waterwayadmin").Parse(`Dear {{ .User }},
 
-this is a test email for the Gemma System Mail notification service.  You
+this is a test email from the Gemma System Mail notification service.  You
 recieved this mail, because a System Administrator triggered the test mail
 sending function at {{ .Timestamp }}.
 
-When the status of an data import managed by you changes an automated mail will
-be send to the address: {{ .Email }} with details on the new import status
-(including import errors) and details on the concerned import.`))
+When the status of a data import managed by you changes an automated mail will
+be sent to {{ .Email }} with details on the new import status
+(including import errors) and details on the corresponding import.`))
 
 	testWWUserNotifyMailTmpl = template.Must(
 		template.New("waterwayuser").Parse(`Dear {{ .User }},
 
-this is a test email for the Gemma System Mail notification service.  You
+this is a test email from the Gemma System Mail notification service.  You
 recieved this mail, because a System Administrator triggered the test mail
 sending function at {{ .Timestamp }}.`))
 )