From 8e49ea8ce8090f4d1ab743d9605e2f80adc3f98d Mon Sep 17 00:00:00 2001 From: Edmar Martineli <edmar@usp.br> Date: Tue, 31 Jul 2018 14:36:56 -0300 Subject: [PATCH] Show start and end voting date to voters in invitation email. --- helios/templates/email/vote_body.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/helios/templates/email/vote_body.txt b/helios/templates/email/vote_body.txt index 56adfb0..f4f581b 100644 --- a/helios/templates/email/vote_body.txt +++ b/helios/templates/email/vote_body.txt @@ -4,6 +4,10 @@ Dear {{voter.name}}, Election URL: {{election_vote_url}} Election Fingerprint: {{voter.election.hash}} +{% if election.voting_start_at %}Voting start at {{election.voting_start_at}} +{% endif %}{% if election.voting_end_at %}Voting end at {{election.voting_end_at}} +{% endif %} + {% ifequal voter.voter_type "password" %} Your voter ID: {{voter.voter_login_id}} Your password: {{voter.voter_password}} -- GitLab