-
Notifications
You must be signed in to change notification settings - Fork 1
Yash/email templates bilingual #88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,26 +1,92 @@ | ||
| [ | ||
| { | ||
| "HtmlPart": "app/utilities/ses/template_files/test.html", | ||
| "HtmlPart": "app/utilities/ses/template_files/compiled/test.html", | ||
| "SubjectPart": "Testing Email SES Template", | ||
| "TemplateName": "Test", | ||
| "TextPart": "app/utilities/ses/template_files/test.txt" | ||
| "TextPart": "app/utilities/ses/template_files/text/test.txt" | ||
| }, | ||
| { | ||
| "HtmlPart": "app/utilities/ses/template_files/email_verification_en.html", | ||
| "SubjectPart": "Verify Your Email Address", | ||
| "HtmlPart": "app/utilities/ses/template_files/compiled/email_verification_en.html", | ||
| "SubjectPart": "{{first_name}}, confirm your email - First Connection Peer Support Program", | ||
| "TemplateName": "EmailVerificationEn", | ||
| "TextPart": "app/utilities/ses/template_files/email_verification_en.txt" | ||
| "TextPart": "app/utilities/ses/template_files/text/email_verification_en.txt" | ||
| }, | ||
| { | ||
| "HtmlPart": "app/utilities/ses/template_files/email_verification_fr.html", | ||
| "SubjectPart": "Vérifiez votre adresse courriel", | ||
| "HtmlPart": "app/utilities/ses/template_files/compiled/email_verification_fr.html", | ||
| "SubjectPart": "{{first_name}}, confirmation de l'adresse courriel – Programme de soutien par les pairs Premier contact", | ||
| "TemplateName": "EmailVerificationFr", | ||
| "TextPart": "app/utilities/ses/template_files/email_verification_fr.txt" | ||
| "TextPart": "app/utilities/ses/template_files/text/email_verification_fr.txt" | ||
| }, | ||
| { | ||
| "HtmlPart": "app/utilities/ses/template_files/password_reset.html", | ||
| "SubjectPart": "Reset Your Password", | ||
| "TemplateName": "PasswordReset", | ||
| "TextPart": "app/utilities/ses/template_files/password_reset.txt" | ||
| "HtmlPart": "app/utilities/ses/template_files/compiled/password_reset_en.html", | ||
| "SubjectPart": "Reset Your Password - First Connection Peer Support Program", | ||
| "TemplateName": "PasswordResetEn", | ||
| "TextPart": "app/utilities/ses/template_files/text/password_reset_en.txt" | ||
| }, | ||
| { | ||
| "HtmlPart": "app/utilities/ses/template_files/compiled/password_reset_fr.html", | ||
| "SubjectPart": "Réinitialisation du mot de passe – Programme de soutien par les pairs Premier contact", | ||
| "TemplateName": "PasswordResetFr", | ||
| "TextPart": "app/utilities/ses/template_files/text/password_reset_fr.txt" | ||
| }, | ||
| { | ||
| "HtmlPart": "app/utilities/ses/template_files/compiled/intake_form_confirmation_en.html", | ||
| "SubjectPart": "We received your intake form - First Connection Peer Support Program", | ||
| "TemplateName": "IntakeFormConfirmationEn", | ||
| "TextPart": "app/utilities/ses/template_files/text/intake_form_confirmation_en.txt" | ||
| }, | ||
| { | ||
| "HtmlPart": "app/utilities/ses/template_files/compiled/intake_form_confirmation_fr.html", | ||
| "SubjectPart": "Réception de votre formulaire de demande – Programme de soutien par les pairs Premier contact", | ||
| "TemplateName": "IntakeFormConfirmationFr", | ||
| "TextPart": "app/utilities/ses/template_files/text/intake_form_confirmation_fr.txt" | ||
| }, | ||
| { | ||
| "HtmlPart": "app/utilities/ses/template_files/compiled/matches_available_en.html", | ||
| "SubjectPart": "{{first_name}}, you have new matches - First Connection Peer Support Program", | ||
| "TemplateName": "MatchesAvailableEn", | ||
| "TextPart": "app/utilities/ses/template_files/text/matches_available_en.txt" | ||
| }, | ||
| { | ||
| "HtmlPart": "app/utilities/ses/template_files/compiled/matches_available_fr.html", | ||
| "SubjectPart": "{{first_name}}, nouveaux jumelages – Programme de soutien par les pairs Premier contact", | ||
| "TemplateName": "MatchesAvailableFr", | ||
| "TextPart": "app/utilities/ses/template_files/text/matches_available_fr.txt" | ||
| }, | ||
| { | ||
| "HtmlPart": "app/utilities/ses/template_files/compiled/call_scheduled_en.html", | ||
| "SubjectPart": "Call confirmed with {{match_name}} @ {{date}} {{time}} {{timezone}} - First Connection Peer Support Program", | ||
| "TemplateName": "CallScheduledEn", | ||
| "TextPart": "app/utilities/ses/template_files/text/call_scheduled_en.txt" | ||
| }, | ||
| { | ||
| "HtmlPart": "app/utilities/ses/template_files/compiled/call_scheduled_fr.html", | ||
| "SubjectPart": "Confirmation de l'appel avec {{match_name}} le {{date}} à {{time}} {{timezone}} – Programme de soutien par les pairs Premier contact", | ||
| "TemplateName": "CallScheduledFr", | ||
| "TextPart": "app/utilities/ses/template_files/text/call_scheduled_fr.txt" | ||
| }, | ||
| { | ||
| "HtmlPart": "app/utilities/ses/template_files/compiled/participant_requested_new_times_en.html", | ||
| "SubjectPart": "{{participant_name}} requested new times - First Connection Peer Support Program", | ||
| "TemplateName": "ParticipantRequestedNewTimesEn", | ||
| "TextPart": "app/utilities/ses/template_files/text/participant_requested_new_times_en.txt" | ||
| }, | ||
| { | ||
| "HtmlPart": "app/utilities/ses/template_files/compiled/participant_requested_new_times_fr.html", | ||
| "SubjectPart": "Demande d'une autre plage horaire par {{participant_name}} – Programme de soutien par les pairs Premier contact", | ||
| "TemplateName": "ParticipantRequestedNewTimesFr", | ||
| "TextPart": "app/utilities/ses/template_files/text/participant_requested_new_times_fr.txt" | ||
| }, | ||
| { | ||
| "HtmlPart": "app/utilities/ses/template_files/compiled/volunteer_accepted_new_times_en.html", | ||
| "SubjectPart": "{{volunteer_name}} confirmed your new time @ {{date}} {{time}} {{timezone}} - First Connection Peer Support Program", | ||
| "TemplateName": "VolunteerAcceptedNewTimesEn", | ||
| "TextPart": "app/utilities/ses/template_files/text/volunteer_accepted_new_times_en.txt" | ||
| }, | ||
| { | ||
| "HtmlPart": "app/utilities/ses/template_files/compiled/volunteer_accepted_new_times_fr.html", | ||
| "SubjectPart": "Confirmation de la nouvelle plage horaire, le {{date}} à {{time}} {{timezone}}, par {{volunteer_name}} – Programme de soutien par les pairs Premier contact", | ||
| "TemplateName": "VolunteerAcceptedNewTimesFr", | ||
| "TextPart": "app/utilities/ses/template_files/text/volunteer_accepted_new_times_fr.txt" | ||
| } | ||
| ] |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The match-creation notification email embeds a hardcoded
http://localhost:3000/volunteer/dashboardlink (and the later scheduled-call/match-acceptance emails in this file use the same localhost base). In any deployed environment these emails will direct volunteers/participants to a non-existent local server, so recipients cannot navigate from the email. Pull the frontend base URL from configuration instead of baking in localhost.Useful? React with 👍 / 👎.