Skip to content

Commit

Permalink
Merge pull request #169 from companieshouse/feature/add-no-dob-match-…
Browse files Browse the repository at this point in the history
…stop-screen

Committing dob_mismatch screen only. Routing to be added later.
  • Loading branch information
clewis1 authored Nov 27, 2024
2 parents d6b7dbf + c3c8eb1 commit fbbc10d
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 0 deletions.
13 changes: 13 additions & 0 deletions locales/cy/stop-screens.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"dob_mismatch_main_title": "to be translated",
"dob_mismatch_reasons": "to be translated",
"dob_mismatch_check_personal_code": "to be translated",
"dob_mismatch_character_code": "to be translated",
"dob_mismatch_try_again_link_text": "to be translated",
"dob_mismatch_check_dob": "to be translated",
"dob_mismatch_if_wrong": "to be translated",
"dob_mismatch_corrections_link_text": "to be translated",
"dob_mismatch_up_to_date": "to be translated",
"dob_mismatch_authorised_agent": "to be translated",
"dob_mismatch_verified_identity": "to be translated"
}
13 changes: 13 additions & 0 deletions locales/en/stop-screens.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"dob_mismatch_main_title": "The details linked to this personal code do not match the details on our records",
"dob_mismatch_reasons": "This may be for a number of reasons - depending on how the identity was verified, or how the PSC's details were entered into our system. You cannot continue without fixing the issue.",
"dob_mismatch_check_personal_code": "Check you've entered the correct personal code",
"dob_mismatch_character_code": "Make sure the 11 character code you entered matches the code received when you verified your identity.",
"dob_mismatch_try_again_link_text": "Go back to the previous screen and try again.",
"dob_mismatch_check_dob": "Check the PSC's date of birth on the Companies House register",
"dob_mismatch_if_wrong": "If the date of birth entered into the Companies House register is wrong, you need to contact the company to",
"dob_mismatch_corrections_link_text": "submit the paper corrections forms with the correct date of birth.",
"dob_mismatch_up_to_date": "When the details are up to date on the register, you will be able to return to this service and provide your Companies House personal code.",
"dob_mismatch_authorised_agent": "If you verififed using an authroised agent, check they entered the correct date of birth",
"dob_mismatch_verified_identity": "If you verififed your identity through an authorised agent (such as an accountant), confirm that they typed your details in correctly when they verified your identity."
}
35 changes: 35 additions & 0 deletions src/views/router_views/stop_screen/dob_mismatch.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{% extends "layouts/default.njk" %}

{% from "govuk/components/button/macro.njk" import govukButton %}
{% from "govuk/components/details/macro.njk" import govukDetails %}
{% from "govuk/components/inset-text/macro.njk" import govukInsetText %}
{% from "govuk/components/warning-text/macro.njk" import govukWarningText %}

{% set title = i18n.dob_mismatch_main_title %}

{% block main_content %}

<h1 class="govuk-heading-l">{{ i18n.dob_mismatch_main_title }}</h1>
<p class="govuk-body">{{ i18n.dob_mismatch_reasons }}</p>

<h3 class="govuk-heading-s">{{ i18n.dob_mismatch_check_personal_code }}</h3>
<p class="govuk-body">
{{ i18n.dob_mismatch_character_code }}
<a href="{{ backURL }}" title="{{ i18n.dob_mismatch_try_again_link }}" class="govuk-link" data-event-id="try-again-link">
{{ i18n.dob_mismatch_try_again_link_text }}
</a>
</p>

<h3 class="govuk-heading-s">{{ i18n.dob_mismatch_check_dob }}</h3>
<p class="govuk-body">
{{ i18n.dob_mismatch_if_wrong }}
<a href="{{ chsUrl }}" title="{{ i18n.dob_mismatch_try_again_link }}" class="govuk-link" data-event-id="paper-correction-link">
{{ i18n.dob_mismatch_corrections_link_text }}
</a>
</p>
<p class="govuk-body">{{ i18n.dob_mismatch_up_to_date }}</p>

<h3 class="govuk-heading-s">{{ i18n.dob_mismatch_authorised_agent }}</h3>
<p class="govuk-body">{{ i18n.dob_mismatch_verified_identity }}</p>

{% endblock %}

0 comments on commit fbbc10d

Please sign in to comment.