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

4792 Update the email that partners get when they are approved #4795

Merged
merged 1 commit into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,7 @@ PLATFORMS
arm64-darwin-21
arm64-darwin-22
arm64-darwin-23
arm64-darwin-24
x86_64-darwin-20
x86_64-darwin-21
x86_64-darwin-22
Expand Down Expand Up @@ -798,4 +799,4 @@ DEPENDENCIES
webmock (~> 3.24)

BUNDLED WITH
2.5.22
2.5.23
2 changes: 1 addition & 1 deletion app/views/partner_mailer/application_approved.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<p>Hi <%= @partner.name %></p>

<p>
<%= @organization.name %> has approved your application.
You have been approved to make requests for essentials to <%= @organization.name %>.
<br>
<%= link_to "Check out your dashboard", partners_dashboard_url %>
</p>
Expand Down
2 changes: 1 addition & 1 deletion app/views/partner_mailer/application_approved.text.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Hi <%= @partner.name %>

<%= @organization.name %> has approved your application.
You have been approved to make requests for essentials to <%= @organization.name %>.

Check out your dashboard: <%= partners_dashboard_url %>
2 changes: 1 addition & 1 deletion spec/mailers/partner_mailer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

it "renders the body with text that indicates the result and a link to their dashboard" do
expect(subject.body.encoded).to include("Hi #{partner.name}")
expect(subject.body.encoded).to include("#{partner.organization.name} has approved your application.")
expect(subject.body.encoded).to include("You have been approved to make requests for essentials to #{partner.organization.name}.")
expect(subject.body.encoded).to include("/partners/dashboard")
end
end
Expand Down