EnCiv / undebate-ssp

Undebate Self Service Portal- Web portal where election administrators of democratically run organizations create undebates for their candidates and voters
Other
6 stars 9 forks source link

Script added to email to moderator #206

Closed ddfridley closed 1 year ago

ddfridley commented 1 year ago

The script needs to be added to the email that is sent to the moderator.

app/socket-apis/send-moderator-invite.js is where the params are gathered and passed to the transactional email system assets/email-templates/moderator-invitation.html is the template used for candidate invites. the format of the script part of the electionObj is in https://github.com/EnCiv/undebate-ssp/wiki/electionObj-data-schema

In order to test this you will need to run dev with email setup. Here's how to setup the email: https://github.com/EnCiv/undebate-ssp/wiki/Send-In-Blue-Transactional