Skip to content
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

Issue #4947: Update default text of distribution email #4974

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jasonwang7517
Copy link

@jasonwang7517 jasonwang7517 commented Feb 1, 2025

Resolves #4947

Description

  • Updates default text in distribution email to be more general since not all are from requests.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Screenshots

@jasonwang7517 jasonwang7517 marked this pull request as ready for review February 1, 2025 19:35
Copy link
Collaborator

@cielf cielf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @jasonwang7517 Thanks for this -- and you're on the right track, except that you're displaying the partner's name and we need it to be the bank's name.

Note that the html isn't displaying properly, but we have someone working on that as a separate issue, so it's out of scope.

@@ -328,7 +328,7 @@
<div class="content">

<!-- START CENTERED WHITE CONTAINER -->
<span class="preheader">Your essentials request has been approved.</span>
<span class="preheader">You have a new distribution from <%= @partner.name %>. Please refer to the attachment for details.</span>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alas, what we need is the essential bank's name here, and what you have is the partner's name. When you are manually testing, you should see "Pawnee Diaper Bank". Similarly on the text.

The bank's name can be found at @partner.organization.name

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, good callout!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

update default text of distribution email
2 participants