Undebate Self Service Portal- Web portal where election administrators of democratically run organizations create undebates for their candidates and voters
To the app/components/election-component we need to some new things. The UI design is up to the developer, but please review with others before getting comitted.
Include some text like this:
When emails are sent to the moderator and candidates the email templates will use information from these fields
[x] organizationLogo - a url to the logo for the organization. If the user enters one, we should render it on the page. We use this in the email template, we render it in a 75px high img tag. So, best to render it like that here. See assets/email-templates/jest-test.js for how we are rendering {{ params.organizationLogo }}. This might be a place where it's better to us px than rem - because we need to match the email template and rems don't work for img there.
'electionObj.organiztionLogo` should be upserted with this value.
[x] ReplyToEmail - goes to electionObj.replyToEmail. Note the ElectionTextInput component takes checkIsEmail as a parameter.
[x] ReplyToName - goes to electionObj.replyToName
[ ] Timezone dropdown. The user needs to be able to set their timezone. Try to use JS/HTML to get the timezone the user is in when they visit the page, if it is not already set. react-time-zone might be a good package to use for the drop down.
electionObj.organizationTimezone should be upserted with this value.
To the app/components/election-component we need to some new things. The UI design is up to the developer, but please review with others before getting comitted.
Include some text like this:
When emails are sent to the moderator and candidates the email templates will use information from these fields
electionObj.organizationTimezone
should be upserted with this value.