comparison pkg/imports/report.go @ 5369:4d126cf58fbc extented-report

Re-phrased the text of the email send for reports a bit.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 24 Jun 2021 10:53:44 +0200
parents 74bae79de83e
children 0de64b3017ac
comparison
equal deleted inserted replaced
5368:a3ec478882ef 5369:4d126cf58fbc
60 60
61 var reportMailTmpl = template.Must(template.New("report-mail"). 61 var reportMailTmpl = template.Must(template.New("report-mail").
62 Parse(`Dear {{ .Receiver }} 62 Parse(`Dear {{ .Receiver }}
63 63
64 this is an automatically generated report from the Gemma system. 64 this is an automatically generated report from the Gemma system.
65 You received this mail because you are listed as a report receiver in 65 You got this mail because you are listed as a report receiver.
66 the system. If you received this mail without consent please 66 If you received it without consent please
67 contact {{ .Admin }} under {{ .AdminEmail }}. 67 contact {{ .Admin }} under {{ .AdminEmail }}.
68 68
69 Find attached {{ .Attachment }} which contains the {{ .Report }} from {{ .When }}. 69 Find attached {{ .Attachment }} containing the {{ .Report }} report from {{ .When }}.
70 70
71 Kind Regards`)) 71 Kind Regards`))
72 72
73 func init() { RegisterJobCreator(ReportJobKind, reportJobCreator{}) } 73 func init() { RegisterJobCreator(ReportJobKind, reportJobCreator{}) }
74 74