Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/backend/src/Services/Email/EmailTemplates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export function Receipt(election: Election, email: string, ballot: Ballot, url:
from: process.env.FROM_EMAIL_ADDRESS ?? '',
subject: `Ballot Receipt For ${election.title}`,
text: `${election.state === 'draft' ? '[⚠️Test Ballot]' : ''} Thank you for voting in ${election.title}, you can view your ballot and ballot status at \
${ballotVerifyUrl}. ${election.settings.ballot_updates && roll ? `While the election is still open, you can update you ballot at ${ballotUpdateUrl}`: ''}`,
${ballotVerifyUrl}. ${election.settings.ballot_updates && roll ? `While the election is still open, you can update your ballot at ${ballotUpdateUrl}`: ''}`,
html: emailTemplate(`
<div>
${election.state === 'draft' ? "<h3>⚠️This was cast as a test ballot. All test ballots will be removed once the election is finalized, and at that time you will need to vote again.⚠️</h3>" : ''}
Expand Down
Loading