Undebate Self Service Portal- Web portal where election administrators of democratically run organizations create undebates for their candidates and voters
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
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