Skip to content
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
30 changes: 30 additions & 0 deletions app/views/errors/500.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{% extends 'layouts/ravs-plus-layout-1-maternity.html' %}

{% set currentSection = "plus" %}

{% set pageTitle = "Sorry, there is a problem with the service" %}

{% block pageTitle %}
{{ pageTitle }} - Record a vaccination - NHS
{% endblock %}

{% block content %}
<div class="nhsuk-grid-row">
<div class="nhsuk-grid-column-two-thirds">

<h1 class="nhsuk-heading-l">{{ pageTitle }}</h1>

<p class="nhsuk-body">To try and solve the problem, you can:</p>
<ul class="nhsuk-list nhsuk-list--bullet">
<li>refresh this page in your browser</li>
<li>go to the <a href="/mvp-patient-upload/landing" class="nhsuk-link">maternity start page</a></li>
<li>come back later</li>
</ul>

<p class="nhsuk-body">
If the problem continues, email <a href="mailto:england.ravs@nhs.net">england.ravs@nhs.net</a> to contact the team or use <a class="nhsuk-link" href="/feedback-form-1-0-0/" target="_blank">our feedback form</a>.
</p>

</div>
</div>
{% endblock %}
8 changes: 7 additions & 1 deletion app/views/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ <h2 class="nhsuk-heading-m">MVP: Maternity Private beta</h2>
<li><a href="/mvp-patient-list-and-export/index">Patient list and export</a></li>
</ul>

<hr class="nhsuk-section-break nhsuk-section-break--l nhsuk-section-break--visible">

<h2 class="nhsuk-heading-m">Error pages</h2>
<ul>
<li><a href="/errors/500">Sorry, there is a problem with the service (500 error)</a></li>
</ul>

<hr class="nhsuk-section-break nhsuk-section-break--l nhsuk-section-break--visible">

<h2 class="nhsuk-heading-m">Common functions and shared components</h2>
Expand All @@ -31,7 +38,6 @@ <h2 class="nhsuk-heading-m">Common functions and shared components</h2>

<hr class="nhsuk-section-break nhsuk-section-break--l nhsuk-section-break--visible">


<h2 class="nhsuk-heading-m">MVP: Occupational health</h2>
<ul>
<li><a href="/occupational-health/index">Upload, enrich, patient history, patient list, export, and invite</a></li>
Expand Down