Skip to content

Commit 16c088c

Browse files
authored
Merge pull request #5239 from cielf/add_user_guide_to_confirmation_message
Adding user guide to confirmation email
2 parents 9bb867b + 52a32c8 commit 16c088c

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

app/views/account_request_mailer/confirmation.html.erb

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
<p>
1212
First, and most importantly, Human Essentials is 100% free! We're supported by the non-profit Code for Good and Microsoft sponsors the servers!
1313
</p>
14+
<p>We recommend taking a look at the <a href='https://rubyforgood.github.io/human-essentials/user_guide/bank/'>Human Essentials User Guide</a>. It includes some guidance on whether the system is right for you, and some things you'll want to think about before starting.
15+
</p>
1416

1517
<p>
1618
If you'd like to experience the app, please log in to the sandbox/demo sites and test it out using the information below.
@@ -45,7 +47,7 @@
4547
</p>
4648

4749
<p>
48-
Finally, we've made a series of getting started videos with detailed directions on setting up your essentials bank in Human Essentials, check them out:
50+
Finally, we've made a series of getting started videos with detailed directions on setting up your essentials bank in Human Essentials. These are not being kept up-to-date, but may still be useful if you prefer videos to the User Guide :
4951
<br>
5052
<a href='https://youtu.be/w53iaJtlQUo'>Part 1</a><br>
5153
<a href='https://youtu.be/3-CF0wsG0h4'>Part 2</a><br>
@@ -55,7 +57,8 @@
5557
<a href='https://youtu.be/feg59oW6V3M'>Part 6</a><br>
5658
<a href='https://youtu.be/wyD034nvqag'>Part 7</a><br>
5759
<a href='https://youtu.be/v3AyrL0pHw0'>Part 8</a><br>
58-
Please let us know when you would like to begin using Human Essentials and we will set you up and send you a welcome email.
60+
<br>
61+
Once you click 'Confirm This Request', above, we will set you up and send you a welcome email.
5962
</p>
6063

6164
<p>Human Essential Team</p>

app/views/account_request_mailer/confirmation.text.erb

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ We're delighted to hear from you and hope you're all staying well!
66

77
First, and most importantly, Human Essentials is 100% free! We're supported by the non-profit Code for Good and Microsoft sponsors the servers!
88

9-
If you'd like to experience the app, please log in to the sandbox/demo sites and test it out using the information below.
9+
We recommend taking a look at the Human Essentials User Guide (at https://rubyforgood.github.io/human-essentials/user_guide/bank/ ).
10+
11+
If you'd like to experience the app before continuing, please log in to the sandbox/demo sites and test it out using the information below.
1012

1113
***The details below allow you to log into a demo site. All data on the demo site is reset every day at 6 AM EST.***
1214

@@ -24,7 +26,8 @@ Password: password!
2426
A couple things to know about the sandbox servers before you start using them:
2527
The development team uses the servers for testing our new features and upgrades before putting them on the live site to ensure that no bugs get pushed through to the live site, so if something looks different than the (real) humanessentials.app site that is probably why! Please don’t enter any sensitive information into the demo servers, several users have access to the demo servers and it will be visible to all users.
2628

27-
Finally, we made a series of getting started videos with detailed directions on setting up your essentials bank in Human Essentials, check theme out here:
29+
Finally, we made a series of getting started videos with detailed directions on setting up your essentials bank in Human Essentials. These are not being kept up-to-date,
30+
but might still be useful if you prefer video to the User Guide.
2831
Part 1 - https://youtu.be/w53iaJtlQUo
2932
Part 2 - https://youtu.be/3-CF0wsG0h4
3033
Part 3 - https://youtu.be/WkJahWsdZzc
@@ -33,6 +36,7 @@ Part 5 - https://youtu.be/oREioR1Qg6c
3336
Part 6 - https://youtu.be/feg59oW6V3M
3437
Part 7 - https://youtu.be/wyD034nvqag
3538
Part 8 - https://youtu.be/v3AyrL0pHw0
36-
Please let us know when you would like to begin using Human Essentials and we will set you up and send you a welcome email.
39+
40+
When you are ready to begin using Human Essentials, please visit: <%= confirmation_account_requests_url(token: @account_request.identity_token) %> and we will set you up and send you a welcome email.
3741

3842
Human Essentials Team

spec/mailers/account_request_mailer_spec.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@
5757
expect(text).to match('Password: password!')
5858
end
5959

60+
it 'should include the user guide link' do
61+
expect(text_body(mail)).to include('https://rubyforgood.github.io/human-essentials/user_guide/bank/')
62+
end
63+
6064
it 'should include the instruction video link' do
6165
expect(text_body(mail)).to include('https://youtu.be/w53iaJtlQUo')
6266
end

0 commit comments

Comments
 (0)