Skip to content

Commit 7e433be

Browse files
Update error pages (#309)
1 parent 71c28b2 commit 7e433be

File tree

3 files changed

+22
-33
lines changed

3 files changed

+22
-33
lines changed

app/views/errors/500.html

Lines changed: 4 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,16 @@
11
{% extends 'layout.html' %}
22

3-
{% block pageTitle %}
4-
Service unavailable
5-
{% endblock %}
6-
3+
{% set pageName = "Sorry, there is a problem with the service" %}
74

85
{% block content %}
96
<div class="nhsuk-grid-row">
107
<div class="nhsuk-grid-column-two-thirds">
11-
<h1 class="nhsuk-heading-xl">The service is unavailable</h1>
12-
13-
<p>There may be a problem with your internet connection, or a technical problem on our side.</p>
14-
15-
{% set cardHtml %}
16-
17-
<ul>
18-
<li>Return to the start</li>
19-
<li>Try using a different internet connection if the one you’re using does not work</li>
20-
</ul>
21-
22-
{{ button({
23-
text: "Try again"
24-
}) }}
25-
26-
<p>If this does not work, you can see more options in our user guidance.</p>
27-
28-
<p>If you urgently need to record a vaccination, <a href="https://guide.ravs.england.nhs.uk/files/record-a-vaccination.docx">download our paper form</a></p>
29-
30-
<h3 class="nhsuk-heading-m">More advice in our user guidance</h3>
31-
32-
<p><a href="https://guide.ravs.england.nhs.uk">Get advice and guidance</a></p>
33-
{% endset %}
8+
<h1 class="nhsuk-heading-l">{{ pageName }}</h1>
349

10+
<p>Try again later.</p>
3511

12+
<p>If you urgently need to record a vaccination, <a href="#">download our paper form</a>.</p>
3613

37-
{{ card({
38-
"heading": "What you can do",
39-
"headingLevel": "2",
40-
"descriptionHtml": cardHtml
41-
}) }}
4214

4315
</div>
4416
</div>

app/views/errors/503.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{% extends 'layout.html' %}
2+
3+
{% set pageName = "Sorry, the service is unavailable" %}
4+
5+
{% block content %}
6+
<div class="nhsuk-grid-row">
7+
<div class="nhsuk-grid-column-two-thirds">
8+
<h1 class="nhsuk-heading-l">{{ pageName }}</h1>
9+
10+
<p>You will be able to use the service later.</p>
11+
12+
<p>If you urgently need to record a vaccination, <a href="#">download our paper form</a>.</p>
13+
14+
</div>
15+
</div>
16+
{% endblock %}

app/views/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ <h2>Support interface</h2>
6868
<h2>Error pages</h2>
6969

7070
<ul>
71-
<li><a href="/errors/500">Service unavailable</a></li>
71+
<li><a href="/errors/500">Sorry, there is a problem with the service (500 error)</a></li>
72+
<li><a href="/errors/503">Service unavailable (503 error)</a></li>
7273
</ul>
7374

7475
</div>

0 commit comments

Comments
 (0)