Skip to content

Commit fb8f0ee

Browse files
Add email to Apply journey (#319)
Added more info to the final screen to help users anticipate what's coming next. --------- Co-authored-by: Frankie Roberto <[email protected]>
1 parent 3c583af commit fb8f0ee

File tree

3 files changed

+80
-9
lines changed

3 files changed

+80
-9
lines changed

app/routes/apply.js

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,18 @@ module.exports = router => {
3535
nextPage = '/apply/check-your-email'
3636
}
3737

38-
// Reset answers
39-
data.organisationCode = null
40-
data.vaccineTypes = null
41-
data.firstName = null
42-
data.lastName = null
43-
data.email = null
44-
data.clinician = null
45-
4638
res.redirect(nextPage)
4739
})
4840

41+
// Welcome email mockup
42+
router.get('/apply/welcome-email', (req, res) => {
43+
const data = req.session.data
44+
const organisationCode = data.organisationCode
45+
const organisation = data.organisations.find((organisation) => organisation.id === organisationCode)
46+
47+
res.render('apply/welcome-email', {
48+
organisation
49+
})
50+
})
51+
4952
}

app/views/apply/check-your-email.html

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,21 @@
1212

1313
<h2 class="nhsuk-heading-l">{{ pageName }}</h2>
1414

15-
<p>We've sent you a welcome email with details of how to access the service.
15+
<p>We've set up an account for you as a lead administrator for Addlestone Pharmacy.</p>
16+
17+
<p>You will now get a welcome email which includes:</p>
18+
<ul>
19+
<li>how to log in</li>
20+
<li>how to add more users to your pharmacy
21+
<li>links to our training webinars and user guide</li>
22+
</ul>
1623
<p>If you cannot find the email, check your spam or junk.</p>
1724

25+
<hr class="nhsuk-section-break nhsuk-section-break--xl nhsuk-section-break--visible">
26+
27+
<p><a href="/apply/welcome-email">[Go to email inbox]</a></p>
28+
29+
1830
</div>
1931
</div>
2032
{% endblock %}

app/views/apply/welcome-email.html

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{% extends 'layout.html' %}
2+
3+
{% set pageName = "Email inbox" %}
4+
5+
{% block header %}
6+
{% endblock %}
7+
8+
{% block footer %}
9+
{% endblock %}
10+
11+
{% block content %}
12+
<div class="nhsuk-grid-row">
13+
<div class="nhsuk-grid-column-full">
14+
15+
<h1 class="nhsuk-heading-l">Email inbox</h1>
16+
17+
<div class="app-email-preview">
18+
19+
<p>Dear {{ data.firstName }} {{ data.lastName }},</p>
20+
<p>You have successfully signed up to use NHS Record a vaccination service at {{ organisation.name }}.</p>
21+
<p>Here's what you need to do next:</p>
22+
23+
<h2 class="nhsuk-heading-s">1. Activate your Okta account</h2>
24+
<p>We've created an Okta account for you to securely access the service.</p>
25+
<p>You’ll receive a ‘Welcome to Okta’ email (from <a href="mailto:[email protected]">[email protected]</a>). You need to activate the link within 7 days.</p>
26+
<p>If you cannot find the email, check your spam or junk.</p>
27+
28+
<h2 class="nhsuk-heading-s">2. Log in to the Record a vaccination service</h2>
29+
<p>Once you’ve activated your Okta account, log in to <a href="https://www.ravs.england.nhs.uk">www.ravs.england.nhs.uk</a> using your Okta username and password.</p>
30+
<p>You can also access the service through your Okta account by clicking ‘RAVS (PROD) app’.</p>
31+
32+
<h2 class="nhsuk-heading-s">3. Get ready to record vaccinations</h2>
33+
<p>Once you've logged in:</p>
34+
<ul class="nhsuk-list nhsuk-list--bullet">
35+
<li>go to the ‘Vaccines’ section and add vaccines for your organisation</li>
36+
<li>go to ‘Manage users’ to add more users to your organisation</li>
37+
</ul>
38+
39+
<h2 class="nhsuk-heading-s">Training and support</h2>
40+
<p>To help you get started, you can:</p>
41+
<ul class="nhsuk-list nhsuk-list--bullet">
42+
<li><a href="https://outlook.office365.com/book/[email protected]">book a training webinar</a></li>
43+
<li><a href="https://guide.ravs.england.nhs.uk/?wt.mc_id=INVITEEMAIL">check our user guide</a></li>
44+
</ul>
45+
46+
<p>Kind regards,</p>
47+
<p>NHS Record a vaccination</p>
48+
49+
<h2 class="nhsuk-heading-s">Helpdesk</h2>
50+
<p>Email: <a href="mailto:[email protected]">[email protected]</a>
51+
<br>Phone: 0333 038 4268 (select option 3)
52+
<br>Monday to Friday: 8am to 6pm</p>
53+
</div>
54+
</div>
55+
56+
{% endblock %}

0 commit comments

Comments
 (0)