-
-
Notifications
You must be signed in to change notification settings - Fork 527
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
4176 customizing reminder message to partners #4197
4176 customizing reminder message to partners #4197
Conversation
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.
Hey @nathangthomas. Thank you for this!
This is a very broad-stroke review -- I'm not looking at the code at all at this time.
I'm afraid we've got different interpretations of what " similar to how we currently make customizations on the distribution email content" means.
What we are looking for is the addition of a Reminder Email Content that would be the pattern for all reminder emails going out from the organization, i.e. customized at the organization level , not the customized-by-distribution approach in your PR. Doing it at the distribution level would result in duplication of effort for the banks.
Care to give it another go, with that clarification?
Thanks again.
Yes, I'll take another look with the clarification in mind. Thanks! |
@nathangthomas are you still interested in finishing this? |
Going to close this - no activity and based on the comments it was not taking the right approach. |
Resolves #4176
Description
This PR allows a custom message to be added to the distribution reminder message similar to how we currently make customizations on the distribution email content.
Type of change
How Has This Been Tested?
distribution_mailer_spec
that account for a distribution that includes acustom_reminder
Provide instructions so we can reproduce.
You can test the email manually by:
bin/start
http://localhost:3000/diaper_bank/distributions/1/edit
rails c
DistributionMailer.reminder_email(Distribution.first.id).deliver_now
A mailer preview should open in your browser.Screenshots