cacert-boardvoting/templates/closed_motion_mail.txt
Jan Dittberner 4d23b6a48f Switch to more flexible go-logging
This commit switches from loggo to the more flexible go-logging
framework. Logs of severity INFO or higher are now written to a separate
boardvoting.log file.

Errors during execution of mail templates are now logged.

A reasoning for the vote result is now logged and put into the mail
notification when a decision is closed.
2017-04-22 20:07:39 +02:00

20 lines
No EOL
413 B
Text

Dear Board,
{{ with .Decision }}The motion with the identifier {{.Tag}} has been {{.Status}}.{{ end }}
The reasoning for this result is: {{ .Reasoning }}
{{ with .Decision }}Motion:
{{.Title}}
{{.Content}}
Vote type: {{.VoteType}}{{end}}
{{ with .VoteSums }} Ayes: {{ .Ayes }}
Nayes: {{ .Nayes }}
Abstentions: {{ .Abstains }}
Percentage: {{ .Percent }}%{{ end }}
Kind regards,
the voting system.