diff pkg/imports/email.go @ 1975:d966f03ea819

Imports: Added the new state 'unchanged' which can be issued by the imports to indicate that the database is not modified by the particular imports.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 23 Jan 2019 11:20:14 +0100
parents c354631e0018
children 42849084f063
line wrap: on
line diff
--- a/pkg/imports/email.go	Wed Jan 23 11:07:17 2019 +0100
+++ b/pkg/imports/email.go	Wed Jan 23 11:20:14 2019 +0100
@@ -39,9 +39,10 @@
 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 "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: