comparison pkg/imports/queue.go @ 1656:6dfad1ad59c8

Import queue: In email notifications generate links to <server>/#/?review=<id> when the state is "pending" and <server>/#/?importlog=<id> otherwise.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 21 Dec 2018 10:25:15 +0100
parents 0324d331e9df
children c354631e0018
comparison
equal deleted inserted replaced
1655:34315277f2d6 1656:6dfad1ad59c8
548 {{ if eq .State "pending" }}The imported data could be integrated into the database 548 {{ if eq .State "pending" }}The imported data could be integrated into the database
549 but your final decision is needed.{{ end }} 549 but your final decision is needed.{{ end }}
550 550
551 Please follow this link to have a closer look at the details: 551 Please follow this link to have a closer look at the details:
552 552
553 {{ .Server }}/#/?review={{ .ID }} 553 {{ .Server }}/#/?{{ if eq .State "pending" }}review{{ else }}importlog{{ end }}={{ .ID }}
554 554
555 Best regards 555 Best regards
556 Your service team`)) 556 Your service team`))
557 ) 557 )
558 558