Skip to content

Commit

Permalink
Add missing NOMS guidance page
Browse files Browse the repository at this point in the history
Previously, if we received a 404 when fetching the offences for a PoP
we'd render the generic error page.

As we've identified this scenario to be caused by a missing NOMS number
for the CRN, we want to show guidance to the user in how to correct it.

This commit adds this guidance page which we'll use in an upcoming
commit.
  • Loading branch information
libuk committed Sep 20, 2023
1 parent 7abf806 commit a5245e0
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions server/views/applications/people/missingNoms.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{% from "govuk/components/back-link/macro.njk" import govukBackLink %}

{% extends "../../partials/layout.njk" %}

{% set pageTitle = "NOMS number missing from NDelius - " + applicationName %}

{% block beforeContent %}

{{ govukBackLink({
text: "Back",
href: paths.applications.start()
}) }}

{% endblock%}

{% block content %}

<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<h1 class="govuk-heading-l">NOMS number missing from NDelius</h1>
<p class="govuk-body">The person’s NOMS number is not on NDelius. We are unable to import the person’s index offence or adjudications and ACCT information from NOMIS.</p>
<p class="govuk-body">Check the person’s NOMS number on NOMIS and add it to their NDelius record.</p>
<p class="govuk-body">Once their NOMS number has been added you will need to start a new referral.</p>
<p>
<a class="govuk-link" href="{{ paths.applications.index() }}">Return to home page</a>
</p>
</div>
</div>

{% endblock %}

0 comments on commit a5245e0

Please sign in to comment.