@defra-fish/gafl-webapp-service 1.61.0-rc.14 → 1.61.0-rc.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@defra-fish/gafl-webapp-service",
|
|
3
|
-
"version": "1.61.0-rc.
|
|
3
|
+
"version": "1.61.0-rc.15",
|
|
4
4
|
"description": "The websales frontend for the GAFL service",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"prepare": "gulp --gulpfile build/gulpfile.cjs"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@defra-fish/business-rules-lib": "1.61.0-rc.
|
|
40
|
-
"@defra-fish/connectors-lib": "1.61.0-rc.
|
|
39
|
+
"@defra-fish/business-rules-lib": "1.61.0-rc.15",
|
|
40
|
+
"@defra-fish/connectors-lib": "1.61.0-rc.15",
|
|
41
41
|
"@defra/hapi-gapi": "^2.0.0",
|
|
42
42
|
"@hapi/boom": "^9.1.2",
|
|
43
43
|
"@hapi/catbox-redis": "^6.0.2",
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"./gafl-jest-matchers.js"
|
|
80
80
|
]
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "906584338318c1402682d486a40bb72ff1abb37d"
|
|
83
83
|
}
|
|
@@ -43,7 +43,7 @@ export default async (request, h) => {
|
|
|
43
43
|
|
|
44
44
|
if (!authenticationResult) {
|
|
45
45
|
payload.referenceNumber = referenceNumber
|
|
46
|
-
await request.cache().helpers.page.setCurrentPermission(IDENTIFY.page, { payload
|
|
46
|
+
await request.cache().helpers.page.setCurrentPermission(IDENTIFY.page, { payload })
|
|
47
47
|
await request.cache().helpers.status.setCurrentPermission({ referenceNumber, authentication: { authorized: false } })
|
|
48
48
|
return h.redirectWithLanguageCode(LICENCE_NOT_FOUND.uri)
|
|
49
49
|
} else {
|
package/src/locales/cy.json
CHANGED
|
@@ -418,8 +418,7 @@
|
|
|
418
418
|
"licence_length_title_other": "Am ba hyd y maent am gael y drwydded?",
|
|
419
419
|
"licence_length_title_you": "Am ba hyd yr hoffech chi gael y drwydded?",
|
|
420
420
|
"licence_num": "Rhif trwydded",
|
|
421
|
-
"licence_not_found_title": "
|
|
422
|
-
"licence_not_found_header": "Ni allwn ddod o hyd i drwydded sy’n cyfateb â'r manylion a roddwyd",
|
|
421
|
+
"licence_not_found_title": "Ni allwn ddod o hyd i drwydded sy’n cyfateb â'r manylion a roddwyd",
|
|
423
422
|
"licence_not_found_body_1": "Gwiriwch eich bod wedi mewnbynnu’r manylion yn gywir - ",
|
|
424
423
|
"licence_not_found_body_previous_page": "ewch yn ôl i’r dudalen flaenorol",
|
|
425
424
|
"licence_not_found_body_2": "Os byddwch yn parhau i weld y dudalen hon gallwch ofyn am gymorth drwy e-bostio ",
|
package/src/locales/en.json
CHANGED
|
@@ -417,8 +417,7 @@
|
|
|
417
417
|
"licence_length_one_day": "1 day licences are valid for 24 hours from the start time that you select.",
|
|
418
418
|
"licence_length_title_other": "How long do they want the licence for?",
|
|
419
419
|
"licence_length_title_you": "How long do you want your licence for?",
|
|
420
|
-
"licence_not_found_title": "
|
|
421
|
-
"licence_not_found_header": "We cannot find a licence matching the details you provided",
|
|
420
|
+
"licence_not_found_title": "We cannot find a licence matching the details you provided",
|
|
422
421
|
"licence_not_found_body_1": "Check you have entered your details correctly - ",
|
|
423
422
|
"licence_not_found_body_previous_page": "go back to the previous page",
|
|
424
423
|
"licence_not_found_body_2": "If you keep seeing this page you can get help by emailing ",
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
{% block content %}
|
|
7
7
|
<div class="govuk-grid-row">
|
|
8
8
|
<div class="govuk-grid-column-two-thirds">
|
|
9
|
-
<h1 class="govuk-heading-l">{{ mssgs.
|
|
9
|
+
<h1 class="govuk-heading-l">{{ mssgs.licence_not_found_title }}</h1>
|
|
10
10
|
<p class="govuk-body">
|
|
11
11
|
{{ mssgs.licence_not_found_body_1 }}
|
|
12
12
|
<a class="govuk-link" href="/buy/renew/identify">{{ mssgs.licence_not_found_body_previous_page }}</a>{{ mssgs.full_stop }}
|