From 29f0c38461138157d7fa444ace5038443cbe0ea0 Mon Sep 17 00:00:00 2001 From: chrislewis Date: Tue, 19 Nov 2024 09:46:26 +0000 Subject: [PATCH 1/3] Committing dob_mismatch screen only. Routing to be added later. --- locales/en/stop-screen.json | 13 +++++++ .../router_views/stop_screen/dob_mismatch.njk | 35 +++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 locales/en/stop-screen.json create mode 100644 src/views/router_views/stop_screen/dob_mismatch.njk diff --git a/locales/en/stop-screen.json b/locales/en/stop-screen.json new file mode 100644 index 00000000..b999df16 --- /dev/null +++ b/locales/en/stop-screen.json @@ -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 form 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." +} \ No newline at end of file diff --git a/src/views/router_views/stop_screen/dob_mismatch.njk b/src/views/router_views/stop_screen/dob_mismatch.njk new file mode 100644 index 00000000..822a4f66 --- /dev/null +++ b/src/views/router_views/stop_screen/dob_mismatch.njk @@ -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 %} + +

{{ i18n.dob_mismatch_main_title }}

+

{{ i18n.dob_mismatch_reasons }}

+ +

{{ i18n.dob_mismatch_check_personal_code }}

+

+ {{ i18n.dob_mismatch_character_code }} + + {{ i18n.dob_mismatch_try_again_link_text }} + +

+ +

{{ i18n.dob_mismatch_check_dob }}

+

+ {{ i18n.dob_mismatch_if_wrong }} + + {{ i18n.dob_mismatch_corrections_link_text }} + +

+

{{ i18n.dob_mismatch_up_to_date }}

+ +

{{ i18n.dob_mismatch_authorised_agent }}

+

{{ i18n.dob_mismatch_verified_identity }}

+ +{% endblock %} \ No newline at end of file From 71b5954f69e5e0f8f0472c4d3f0aa13c303875dd Mon Sep 17 00:00:00 2001 From: chrislewis Date: Thu, 21 Nov 2024 11:50:05 +0000 Subject: [PATCH 2/3] Adding locales --- locales/cy/stop-screen.json | 13 +++++++++++++ locales/en/stop-screen.json | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 locales/cy/stop-screen.json diff --git a/locales/cy/stop-screen.json b/locales/cy/stop-screen.json new file mode 100644 index 00000000..64964dcb --- /dev/null +++ b/locales/cy/stop-screen.json @@ -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" +} \ No newline at end of file diff --git a/locales/en/stop-screen.json b/locales/en/stop-screen.json index b999df16..d924ed42 100644 --- a/locales/en/stop-screen.json +++ b/locales/en/stop-screen.json @@ -6,7 +6,7 @@ "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 form with the correct date of birth.", + "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." From c3c8eb1b56b6ce7f677dfb7ba8c0a312b85122ad Mon Sep 17 00:00:00 2001 From: chrislewis Date: Thu, 21 Nov 2024 12:04:14 +0000 Subject: [PATCH 3/3] Updating file names --- locales/cy/{stop-screen.json => stop-screens.json} | 0 locales/en/{stop-screen.json => stop-screens.json} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename locales/cy/{stop-screen.json => stop-screens.json} (100%) rename locales/en/{stop-screen.json => stop-screens.json} (100%) diff --git a/locales/cy/stop-screen.json b/locales/cy/stop-screens.json similarity index 100% rename from locales/cy/stop-screen.json rename to locales/cy/stop-screens.json diff --git a/locales/en/stop-screen.json b/locales/en/stop-screens.json similarity index 100% rename from locales/en/stop-screen.json rename to locales/en/stop-screens.json