update with language resources

This commit is contained in:
2021-06-30 11:49:09 +01:00
parent b488caa013
commit 0158b60cd3
57 changed files with 599 additions and 14634 deletions
-39
View File
@@ -1,39 +0,0 @@
{
"polyfillFiles": [
"static/chunks/polyfills.js"
],
"devFiles": [
"static/chunks/react-refresh.js"
],
"ampDevFiles": [
"static/chunks/webpack.js",
"static/chunks/amp.js"
],
"lowPriorityFiles": [
"static/development/_buildManifest.js",
"static/development/_ssgManifest.js"
],
"pages": {
"/": [
"static/chunks/webpack.js",
"static/chunks/main.js",
"static/chunks/pages/index.js"
],
"/_app": [
"static/chunks/webpack.js",
"static/chunks/main.js",
"static/chunks/pages/_app.js"
],
"/_error": [
"static/chunks/webpack.js",
"static/chunks/main.js",
"static/chunks/pages/_error.js"
],
"/myportal": [
"static/chunks/webpack.js",
"static/chunks/main.js",
"static/chunks/pages/myportal.js"
]
},
"ampFirstPages": []
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-8
View File
@@ -1,8 +0,0 @@
{
"../node_modules/next/dist/client/next-dev.js -> ./dev/noop": {
"id": "./node_modules/next/dist/client/dev/noop.js",
"files": [
"static/chunks/node_modules_next_dist_client_dev_noop_js.js"
]
}
}
-25
View File
@@ -1,25 +0,0 @@
/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
exports.id = "locales_cy_common_json";
exports.ids = ["locales_cy_common_json"];
exports.modules = {
/***/ "./locales/cy/common.json":
/*!********************************!*\
!*** ./locales/cy/common.json ***!
\********************************/
/***/ (function(module) {
"use strict";
module.exports = JSON.parse('{"service-name":"Porth Gwaith Achos Apeliadau","breadcrumb-back-link":"Yn ôl","error-radio":"Dewiswch opsiwn","error-checkbox":"Enter a value","error-textbox":"Choose an option","available-in":"English","continue-button":"Parhewch","submit-and-start":"Cyflwyno a dechrau\'r cwrs","footer-terms-conditions-link":"Telerau ac amodau","footer-privacy-link":"Rhybudd Preifatrwydd","footer-cookies-link":"Chwcis","footer-accessibility-link":"Hygyrchedd","footer-feedback-link":"Adborth"}');
/***/ })
};
;
-25
View File
@@ -1,25 +0,0 @@
/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
exports.id = "locales_cy_home_json";
exports.ids = ["locales_cy_home_json"];
exports.modules = {
/***/ "./locales/cy/home.json":
/*!******************************!*\
!*** ./locales/cy/home.json ***!
\******************************/
/***/ (function(module) {
"use strict";
module.exports = JSON.parse('{"login-card-title":"Mewngofnodi neu cofrestru","login-card-id-label":"Dynodydd Defnyddiwr (ID) Porth y Llywodraeth","login-card-id-hint":"Gallai hyn fod hyd at 12 o gymeriadau.","login-card-password-label":"Cyfrinair","login-card-button":"Mewngofnodi","login-card-register-label":"Cwsmer newydd wyf a hoffwn","login-card-register-link":"Gofrestru","login-card-forgotten-label":"Wedi anghofio eich cyfrinair neu\'ch enw defnyddiwr?","login-card-forgotten-link":"Cliciwch yma","casesearch-card-title":"Chwilio am achos","casesearch-card-search-hint":"Chwiliwch drwy roi cyfeirnod 7 digid yr achos","casesearch-card-search-example-label":"Enghraifft","casesearch-card-button":"Cyflwyno Chwiliad","casesearch-card-advanced-link":"Fel arall, gallwch chwilio gan ddefnyddio ein meini prawf eraill gyda\'n chwiliad uwch","casescomment-card-title":"Gwneud sylw ar achos","casescomment-card-paragraph-one":"Chwiliwch am eich achos a chliciwch y botwm \'Gwneud Sylw\'. Y ffordd orau o roi sylwadau ar achos cyfredol yw trwy gofrestru gyda ni\'n gyntaf gan fod hynny\'n gwneud olrhain achosion a chyflwyno sylwadau yn haws.","casescomment-card-paragraph-two":"Yn achos apeliadau deiliaid tai ac apeliadau masnachol, nid yw partïon â buddiant yn gallu gwneud sylwadau yn y cam apelio. Caiff unrhyw sylwadau a wneir yn y cam ymgeisio eu darparu gan yr awdurdod cynllunio lleol ac fe\'u hystyrir gan yr Arolygydd.","inspectorate-card-visit-label":"Ymweld Yr Arolygiaeth Gynllunio","inspectorate-card-visit-link":"Hafan"}');
/***/ })
};
;
-25
View File
@@ -1,25 +0,0 @@
/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
exports.id = "locales_cy_myportal_json";
exports.ids = ["locales_cy_myportal_json"];
exports.modules = {
/***/ "./locales/cy/myportal.json":
/*!**********************************!*\
!*** ./locales/cy/myportal.json ***!
\**********************************/
/***/ (function(module) {
"use strict";
module.exports = JSON.parse('{"viewall-link":"Gweld y cyfan","page-title":"My Portal","makenewappeal-card-title":"Gwneud apêl newydd","makenewappeal-card-paragraph-one":"Cyn cyflwyno apêl newydd, sicrhewch eich bod wedi darllen yr holl ganllawiau sy\'n","makenewappeal-card-link":"berthnasol i\'r math o apêl sydd gennych.","makenewappeal-card-paragraph-two":"Wedi i chi glicio\'r botwm \'gwneud apêl newydd\' isod, cewch eich arwain drwy broses i\'ch helpu i ddewis y math cywir o apêl.","makenewappeal-card-button-label":"Gwneud apêl newydd","mycases-card-title":"Fy achosion","searchcases-card-title":"Chwilio am achos/cyflwyno cynrychiolaeth","searchcases-card-search-hint":"Chwiliwch drwy roi cyfeirnod 7 digid yr achos yn y blwch isod:","searchcases-card-search-example-label":"Enghraifft","searchcases-card-button":"Cyflwyno Chwiliad","searchcases-card-advanced-link":"Fel arall, gallwch chwilio gan ddefnyddio ein meini prawf eraill gyda\'n chwiliad uwch","awatitingsubmission-card-title":"Eto iw gyflwyno","myrepresentations-card-title":"Cyflwyniadau\'r achos","watchedcases-card-title":"Achosion a gwylio"}');
/***/ })
};
;
-25
View File
@@ -1,25 +0,0 @@
/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
exports.id = "locales_en_common_json";
exports.ids = ["locales_en_common_json"];
exports.modules = {
/***/ "./locales/en/common.json":
/*!********************************!*\
!*** ./locales/en/common.json ***!
\********************************/
/***/ (function(module) {
"use strict";
module.exports = JSON.parse('{"service-name":"Appeals Casework Portal","breadcrumb-back-link":"Back","error-radio":"Choose an option","error-checkbox":"Choose an option","error-textbox":"Choose an option","available-in":"Cymraeg","continue-button":"Continue","submit-and-start":"Submit and start course","footer-terms-conditions-link":"Terms and conditions","footer-privacy-link":"Privacy Notice","footer-cookies-link":"Cookies","footer-accessibility-link":"Accessibility","footer-feedback-link":"Feedback"}');
/***/ })
};
;
-25
View File
@@ -1,25 +0,0 @@
/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
exports.id = "locales_en_home_json";
exports.ids = ["locales_en_home_json"];
exports.modules = {
/***/ "./locales/en/home.json":
/*!******************************!*\
!*** ./locales/en/home.json ***!
\******************************/
/***/ (function(module) {
"use strict";
module.exports = JSON.parse('{"login-card-title":"Log in or Register","login-card-id-label":"Government Gateway user ID","login-card-id-hint":"This could be up to 12 characters.","login-card-password-label":"Password","login-card-button":"Sign in","login-card-register-label":"I am a new user and would like to","login-card-register-link":"Register","login-card-forgotten-label":"Forgotten your password or username?","login-card-forgotten-link":"Click here","casesearch-card-title":"Search for a case","casesearch-card-search-hint":"Search by entering the 7 digit case reference number:","casesearch-card-search-example-label":"Example","casesearch-card-button":"Submit Search","casesearch-card-advanced-link":"Advanced Search","casescomment-card-title":"Comment on a case","casescomment-card-paragraph-one":"Simply search for your case and click on the \'Make Representation\' button. The best way to comment on an existing case is to register with us first as that makes it easier to track cases and submit comments.","casescomment-card-paragraph-two":"For Householder and Commercial appeals, interested parties are unable to make representations at appeal stage. Any representations made at application stage will be provided by the local planning authority and considered by the Inspector.","inspectorate-card-visit-label":"Visit the Planning Inspectorate","inspectorate-card-visit-link":"Home"}');
/***/ })
};
;
-25
View File
@@ -1,25 +0,0 @@
/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
exports.id = "locales_en_myportal_json";
exports.ids = ["locales_en_myportal_json"];
exports.modules = {
/***/ "./locales/en/myportal.json":
/*!**********************************!*\
!*** ./locales/en/myportal.json ***!
\**********************************/
/***/ (function(module) {
"use strict";
module.exports = JSON.parse('{"viewall-link":"View all","page-title":"My Portal","makenewappeal-card-title":"Make a new appeal","makenewappeal-card-paragraph-one":"Before submitting a new appeal, please ensure you have read all of the guidance","makenewappeal-card-link":"relevant to your appeal type.","makenewappeal-card-paragraph-two":"Once you click the \'make a new appeal\' button below you will be guided through a process to help you select the correct appeal type","makenewappeal-card-button-label":"Make a new appeal","mycases-card-title":"My cases","searchcases-card-title":"Search for a case/submit representation","searchcases-card-search-hint":"Search by entering the 7 digit case reference number:","searchcases-card-search-example-label":"Example","searchcases-card-button":"Submit Search","searchcases-card-advanced-link":"Advanced Search","awatitingsubmission-card-title":"Awaiting submission","myrepresentations-card-title":"My representations","watchedcases-card-title":"Watched cases"}');
/***/ })
};
;
-7
View File
@@ -1,7 +0,0 @@
{
"/_app": "pages/_app.js",
"/_error": "pages/_error.js",
"/_document": "pages/_document.js",
"/": "pages/index.js",
"/myportal": "pages/myportal.js"
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-198
View File
@@ -1,198 +0,0 @@
/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
/******/ (function() { // webpackBootstrap
/******/ "use strict";
/******/ var __webpack_modules__ = ({});
/************************************************************************/
/******/ // The module cache
/******/ var __webpack_module_cache__ = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ var cachedModule = __webpack_module_cache__[moduleId];
/******/ if (cachedModule !== undefined) {
/******/ return cachedModule.exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = __webpack_module_cache__[moduleId] = {
/******/ // no module.id needed
/******/ // no module.loaded needed
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ var threw = true;
/******/ try {
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
/******/ threw = false;
/******/ } finally {
/******/ if(threw) delete __webpack_module_cache__[moduleId];
/******/ }
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = __webpack_modules__;
/******/
/************************************************************************/
/******/ /* webpack/runtime/compat get default export */
/******/ !function() {
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function() { return module['default']; } :
/******/ function() { return module; };
/******/ __webpack_require__.d(getter, { a: getter });
/******/ return getter;
/******/ };
/******/ }();
/******/
/******/ /* webpack/runtime/create fake namespace object */
/******/ !function() {
/******/ var getProto = Object.getPrototypeOf ? function(obj) { return Object.getPrototypeOf(obj); } : function(obj) { return obj.__proto__; };
/******/ var leafPrototypes;
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 16: return value when it's Promise-like
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = this(value);
/******/ if(mode & 8) return value;
/******/ if(typeof value === 'object' && value) {
/******/ if((mode & 4) && value.__esModule) return value;
/******/ if((mode & 16) && typeof value.then === 'function') return value;
/******/ }
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ var def = {};
/******/ leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];
/******/ for(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {
/******/ Object.getOwnPropertyNames(current).forEach(function(key) { def[key] = function() { return value[key]; }; });
/******/ }
/******/ def['default'] = function() { return value; };
/******/ __webpack_require__.d(ns, def);
/******/ return ns;
/******/ };
/******/ }();
/******/
/******/ /* webpack/runtime/define property getters */
/******/ !function() {
/******/ // define getter functions for harmony exports
/******/ __webpack_require__.d = function(exports, definition) {
/******/ for(var key in definition) {
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
/******/ }
/******/ }
/******/ };
/******/ }();
/******/
/******/ /* webpack/runtime/ensure chunk */
/******/ !function() {
/******/ __webpack_require__.f = {};
/******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function(chunkId) {
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {
/******/ __webpack_require__.f[key](chunkId, promises);
/******/ return promises;
/******/ }, []));
/******/ };
/******/ }();
/******/
/******/ /* webpack/runtime/get javascript chunk filename */
/******/ !function() {
/******/ // This function allow to reference async chunks and sibling chunks for the entrypoint
/******/ __webpack_require__.u = function(chunkId) {
/******/ // return url for filenames based on template
/******/ return "" + chunkId + ".js";
/******/ };
/******/ }();
/******/
/******/ /* webpack/runtime/hasOwnProperty shorthand */
/******/ !function() {
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
/******/ }();
/******/
/******/ /* webpack/runtime/make namespace object */
/******/ !function() {
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/ }();
/******/
/******/ /* webpack/runtime/startup entrypoint */
/******/ !function() {
/******/ __webpack_require__.X = function(result, chunkIds, fn) {
/******/ // arguments: chunkIds, moduleId are deprecated
/******/ var moduleId = chunkIds;
/******/ if(!fn) chunkIds = result, fn = function() { return __webpack_require__(__webpack_require__.s = moduleId); };
/******/ chunkIds.map(__webpack_require__.e, __webpack_require__)
/******/ var r = fn();
/******/ return r === undefined ? result : r;
/******/ }
/******/ }();
/******/
/******/ /* webpack/runtime/require chunk loading */
/******/ !function() {
/******/ // no baseURI
/******/
/******/ // object to store loaded chunks
/******/ // "1" means "loaded", otherwise not loaded yet
/******/ var installedChunks = {
/******/ "webpack-runtime": 1
/******/ };
/******/
/******/ // no on chunks loaded
/******/
/******/ var installChunk = function(chunk) {
/******/ var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;
/******/ for(var moduleId in moreModules) {
/******/ if(__webpack_require__.o(moreModules, moduleId)) {
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
/******/ }
/******/ }
/******/ if(runtime) runtime(__webpack_require__);
/******/ for(var i = 0; i < chunkIds.length; i++)
/******/ installedChunks[chunkIds[i]] = 1;
/******/
/******/ };
/******/
/******/ // require() chunk loading for javascript
/******/ __webpack_require__.f.require = function(chunkId, promises) {
/******/ // "1" is the signal for "already loaded"
/******/ if(!installedChunks[chunkId]) {
/******/ if("webpack-runtime" != chunkId) {
/******/ installChunk(require("./" + __webpack_require__.u(chunkId)));
/******/ } else installedChunks[chunkId] = 1;
/******/ }
/******/ };
/******/
/******/ module.exports = __webpack_require__;
/******/ __webpack_require__.C = installChunk;
/******/
/******/ // no HMR
/******/
/******/ // no HMR manifest
/******/ }();
/******/
/************************************************************************/
/******/
/******/
/******/ })()
;
File diff suppressed because one or more lines are too long
@@ -1,22 +0,0 @@
/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([["locales_cy_common_json"],{
/***/ "./locales/cy/common.json":
/*!********************************!*\
!*** ./locales/cy/common.json ***!
\********************************/
/***/ (function(module) {
"use strict";
module.exports = JSON.parse('{"service-name":"Porth Gwaith Achos Apeliadau","breadcrumb-back-link":"Yn ôl","error-radio":"Dewiswch opsiwn","error-checkbox":"Enter a value","error-textbox":"Choose an option","available-in":"English","continue-button":"Parhewch","submit-and-start":"Cyflwyno a dechrau\'r cwrs","footer-terms-conditions-link":"Telerau ac amodau","footer-privacy-link":"Rhybudd Preifatrwydd","footer-cookies-link":"Chwcis","footer-accessibility-link":"Hygyrchedd","footer-feedback-link":"Adborth"}');
/***/ })
}]);
@@ -1,22 +0,0 @@
/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([["locales_cy_home_json"],{
/***/ "./locales/cy/home.json":
/*!******************************!*\
!*** ./locales/cy/home.json ***!
\******************************/
/***/ (function(module) {
"use strict";
module.exports = JSON.parse('{"login-card-title":"Mewngofnodi neu cofrestru","login-card-id-label":"Dynodydd Defnyddiwr (ID) Porth y Llywodraeth","login-card-id-hint":"Gallai hyn fod hyd at 12 o gymeriadau.","login-card-password-label":"Cyfrinair","login-card-button":"Mewngofnodi","login-card-register-label":"Cwsmer newydd wyf a hoffwn","login-card-register-link":"Gofrestru","login-card-forgotten-label":"Wedi anghofio eich cyfrinair neu\'ch enw defnyddiwr?","login-card-forgotten-link":"Cliciwch yma","casesearch-card-title":"Chwilio am achos","casesearch-card-search-hint":"Chwiliwch drwy roi cyfeirnod 7 digid yr achos","casesearch-card-search-example-label":"Enghraifft","casesearch-card-button":"Cyflwyno Chwiliad","casesearch-card-advanced-link":"Fel arall, gallwch chwilio gan ddefnyddio ein meini prawf eraill gyda\'n chwiliad uwch","casescomment-card-title":"Gwneud sylw ar achos","casescomment-card-paragraph-one":"Chwiliwch am eich achos a chliciwch y botwm \'Gwneud Sylw\'. Y ffordd orau o roi sylwadau ar achos cyfredol yw trwy gofrestru gyda ni\'n gyntaf gan fod hynny\'n gwneud olrhain achosion a chyflwyno sylwadau yn haws.","casescomment-card-paragraph-two":"Yn achos apeliadau deiliaid tai ac apeliadau masnachol, nid yw partïon â buddiant yn gallu gwneud sylwadau yn y cam apelio. Caiff unrhyw sylwadau a wneir yn y cam ymgeisio eu darparu gan yr awdurdod cynllunio lleol ac fe\'u hystyrir gan yr Arolygydd.","inspectorate-card-visit-label":"Ymweld Yr Arolygiaeth Gynllunio","inspectorate-card-visit-link":"Hafan"}');
/***/ })
}]);
@@ -1,22 +0,0 @@
/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([["locales_cy_myportal_json"],{
/***/ "./locales/cy/myportal.json":
/*!**********************************!*\
!*** ./locales/cy/myportal.json ***!
\**********************************/
/***/ (function(module) {
"use strict";
module.exports = JSON.parse('{"viewall-link":"Gweld y cyfan","page-title":"My Portal","makenewappeal-card-title":"Gwneud apêl newydd","makenewappeal-card-paragraph-one":"Cyn cyflwyno apêl newydd, sicrhewch eich bod wedi darllen yr holl ganllawiau sy\'n","makenewappeal-card-link":"berthnasol i\'r math o apêl sydd gennych.","makenewappeal-card-paragraph-two":"Wedi i chi glicio\'r botwm \'gwneud apêl newydd\' isod, cewch eich arwain drwy broses i\'ch helpu i ddewis y math cywir o apêl.","makenewappeal-card-button-label":"Gwneud apêl newydd","mycases-card-title":"Fy achosion","searchcases-card-title":"Chwilio am achos/cyflwyno cynrychiolaeth","searchcases-card-search-hint":"Chwiliwch drwy roi cyfeirnod 7 digid yr achos yn y blwch isod:","searchcases-card-search-example-label":"Enghraifft","searchcases-card-button":"Cyflwyno Chwiliad","searchcases-card-advanced-link":"Fel arall, gallwch chwilio gan ddefnyddio ein meini prawf eraill gyda\'n chwiliad uwch","awatitingsubmission-card-title":"Eto iw gyflwyno","myrepresentations-card-title":"Cyflwyniadau\'r achos","watchedcases-card-title":"Achosion a gwylio"}');
/***/ })
}]);
@@ -1,22 +0,0 @@
/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([["locales_en_common_json"],{
/***/ "./locales/en/common.json":
/*!********************************!*\
!*** ./locales/en/common.json ***!
\********************************/
/***/ (function(module) {
"use strict";
module.exports = JSON.parse('{"service-name":"Appeals Casework Portal","breadcrumb-back-link":"Back","error-radio":"Choose an option","error-checkbox":"Choose an option","error-textbox":"Choose an option","available-in":"Cymraeg","continue-button":"Continue","submit-and-start":"Submit and start course","footer-terms-conditions-link":"Terms and conditions","footer-privacy-link":"Privacy Notice","footer-cookies-link":"Cookies","footer-accessibility-link":"Accessibility","footer-feedback-link":"Feedback"}');
/***/ })
}]);
@@ -1,22 +0,0 @@
/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([["locales_en_home_json"],{
/***/ "./locales/en/home.json":
/*!******************************!*\
!*** ./locales/en/home.json ***!
\******************************/
/***/ (function(module) {
"use strict";
module.exports = JSON.parse('{"login-card-title":"Log in or Register","login-card-id-label":"Government Gateway user ID","login-card-id-hint":"This could be up to 12 characters.","login-card-password-label":"Password","login-card-button":"Sign in","login-card-register-label":"I am a new user and would like to","login-card-register-link":"Register","login-card-forgotten-label":"Forgotten your password or username?","login-card-forgotten-link":"Click here","casesearch-card-title":"Search for a case","casesearch-card-search-hint":"Search by entering the 7 digit case reference number:","casesearch-card-search-example-label":"Example","casesearch-card-button":"Submit Search","casesearch-card-advanced-link":"Advanced Search","casescomment-card-title":"Comment on a case","casescomment-card-paragraph-one":"Simply search for your case and click on the \'Make Representation\' button. The best way to comment on an existing case is to register with us first as that makes it easier to track cases and submit comments.","casescomment-card-paragraph-two":"For Householder and Commercial appeals, interested parties are unable to make representations at appeal stage. Any representations made at application stage will be provided by the local planning authority and considered by the Inspector.","inspectorate-card-visit-label":"Visit the Planning Inspectorate","inspectorate-card-visit-link":"Home"}');
/***/ })
}]);
@@ -1,22 +0,0 @@
/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([["locales_en_myportal_json"],{
/***/ "./locales/en/myportal.json":
/*!**********************************!*\
!*** ./locales/en/myportal.json ***!
\**********************************/
/***/ (function(module) {
"use strict";
module.exports = JSON.parse('{"viewall-link":"View all","page-title":"My Portal","makenewappeal-card-title":"Make a new appeal","makenewappeal-card-paragraph-one":"Before submitting a new appeal, please ensure you have read all of the guidance","makenewappeal-card-link":"relevant to your appeal type.","makenewappeal-card-paragraph-two":"Once you click the \'make a new appeal\' button below you will be guided through a process to help you select the correct appeal type","makenewappeal-card-button-label":"Make a new appeal","mycases-card-title":"My cases","searchcases-card-title":"Search for a case/submit representation","searchcases-card-search-hint":"Search by entering the 7 digit case reference number:","searchcases-card-search-example-label":"Example","searchcases-card-button":"Submit Search","searchcases-card-advanced-link":"Advanced Search","awatitingsubmission-card-title":"Awaiting submission","myrepresentations-card-title":"My representations","watchedcases-card-title":"Watched cases"}');
/***/ })
}]);
File diff suppressed because one or more lines are too long
@@ -1,22 +0,0 @@
/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([["node_modules_next_dist_client_dev_noop_js"],{
/***/ "./node_modules/next/dist/client/dev/noop.js":
/*!***************************************************!*\
!*** ./node_modules/next/dist/client/dev/noop.js ***!
\***************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
"use strict";
eval("/* module decorator */ module = __webpack_require__.nmd(module);\n\n\n;\n var _a, _b;\n // Legacy CSS implementations will `eval` browser code in a Node.js context\n // to extract CSS. For backwards compatibility, we need to check we're in a\n // browser context before continuing.\n if (typeof self !== 'undefined' &&\n // AMP / No-JS mode does not inject these helpers:\n '$RefreshHelpers$' in self) {\n var currentExports = module.__proto__.exports;\n var prevExports = (_b = (_a = module.hot.data) === null || _a === void 0 ? void 0 : _a.prevExports) !== null && _b !== void 0 ? _b : null;\n // This cannot happen in MainTemplate because the exports mismatch between\n // templating and execution.\n self.$RefreshHelpers$.registerExportsForReactRefresh(currentExports, module.id);\n // A module can be accepted automatically based on its exports, e.g. when\n // it is a Refresh Boundary.\n if (self.$RefreshHelpers$.isReactRefreshBoundary(currentExports)) {\n // Save the previous exports on update so we can compare the boundary\n // signatures.\n module.hot.dispose(function (data) {\n data.prevExports = currentExports;\n });\n // Unconditionally accept an update to this module, we'll check if it's\n // still a Refresh Boundary later.\n module.hot.accept();\n // This field is set when the previous version of this module was a\n // Refresh Boundary, letting us know we need to check for invalidation or\n // enqueue an update.\n if (prevExports !== null) {\n // A boundary can become ineligible if its exports are incompatible\n // with the previous exports.\n //\n // For example, if you add/remove/change exports, we'll want to\n // re-execute the importing modules, and force those components to\n // re-render. Similarly, if you convert a class component to a\n // function, we want to invalidate the boundary.\n if (self.$RefreshHelpers$.shouldInvalidateReactRefreshBoundary(prevExports, currentExports)) {\n module.hot.invalidate();\n }\n else {\n self.$RefreshHelpers$.scheduleUpdate();\n }\n }\n }\n else {\n // Since we just executed the code for the module, it's possible that the\n // new exports made it ineligible for being a boundary.\n // We only care about the case when we were _previously_ a boundary,\n // because we already accepted this update (accidental side effect).\n var isNoLongerABoundary = prevExports !== null;\n if (isNoLongerABoundary) {\n module.hot.invalidate();\n }\n }\n }\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9fTl9FLy4vbm9kZV9tb2R1bGVzL25leHQvZGlzdC9jbGllbnQvZGV2L25vb3AuanM/NGI3OSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQWEiLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbmV4dC9kaXN0L2NsaWVudC9kZXYvbm9vcC5qcy5qcyIsInNvdXJjZXNDb250ZW50IjpbIlwidXNlIHN0cmljdFwiO1xuLy8jIHNvdXJjZU1hcHBpbmdVUkw9bm9vcC5qcy5tYXAiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./node_modules/next/dist/client/dev/noop.js\n");
/***/ })
}]);
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
@@ -1 +0,0 @@
self.__BUILD_MANIFEST = {__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static\u002Fchunks\u002Fpages\u002Findex.js"],"/_error":["static\u002Fchunks\u002Fpages\u002F_error.js"],"/myportal":["static\u002Fchunks\u002Fpages\u002Fmyportal.js"],sortedPages:["\u002F","\u002F_app","\u002F_error","\u002Fmyportal"]};self.__BUILD_MANIFEST_CB && self.__BUILD_MANIFEST_CB()
-1
View File
@@ -1 +0,0 @@
self.__SSG_MANIFEST=new Set;self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB()
@@ -1 +0,0 @@
{"c":["webpack"],"r":[],"m":[]}
@@ -1 +0,0 @@
{"c":["webpack"],"r":[],"m":[]}
@@ -1,30 +0,0 @@
/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
self["webpackHotUpdate_N_E"]("webpack",{},
/******/ function(__webpack_require__) { // webpackRuntimeModules
/******/ "use strict";
/******/
/******/ /* webpack/runtime/getFullHash */
/******/ !function() {
/******/ __webpack_require__.h = function() { return "b77a25e70a2c865059e0"; }
/******/ }();
/******/
/******/ /* webpack/runtime/compat */
/******/
/******/
/******/ // noop fns to prevent runtime errors during initialization
/******/ if (typeof self !== "undefined") {
/******/ self.$RefreshReg$ = function () {};
/******/ self.$RefreshSig$ = function () {
/******/ return function (type) {
/******/ return type;
/******/ };
/******/ };
/******/ }}
);
@@ -1,19 +0,0 @@
/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
self["webpackHotUpdate_N_E"]("webpack",{},
/******/ function(__webpack_require__) { // webpackRuntimeModules
/******/ "use strict";
/******/
/******/ /* webpack/runtime/getFullHash */
/******/ !function() {
/******/ __webpack_require__.h = function() { return "b2de792ba221e84c255c"; }
/******/ }();
/******/
/******/ }
);
+88 -83
View File
@@ -4,92 +4,97 @@ import _ from "lodash";
import { useRouter } from "next/router";
const Breadcrumbs = (props) => {
const {
courseContent,
slug,
activitysub,
activity,
applicant_id,
course_id,
applicant_ref,
} = props;
const router = useRouter();
const { course, section } = router.query;
const {
courseContent,
slug,
activitysub,
activity,
applicant_id,
course_id,
applicant_ref,
} = props;
const router = useRouter();
const { course, section } = router.query;
function Breadcrumb() {
if (slug) {
var coursePageURL = course + "/" + slug;
if (_.isEmpty(courseContent)) {
return null;
} else {
var sectionObj = jsonpath.query(
courseContent,
'$..sections[?(@.path=="/' + coursePageURL + '")]'
);
var breadcrumb = sectionObj[0].chapter.title; //sectionObj[0].chapter
return (
<li className="govuk-breadcrumbs__list-item" aria-current="page">
{breadcrumb}
</li>
);
}
} else {
return null;
function Breadcrumb() {
if (slug) {
var coursePageURL = course + "/" + slug;
if (_.isEmpty(courseContent)) {
return null;
} else {
var sectionObj = jsonpath.query(
courseContent,
'$..sections[?(@.path=="/' + coursePageURL + '")]'
);
var breadcrumb = sectionObj[0].chapter.title; //sectionObj[0].chapter
return (
<li
className="govuk-breadcrumbs__list-item"
aria-current="page"
>
{breadcrumb}
</li>
);
}
} else {
return null;
}
}
}
return (
<nav
aria-label={"Breadcrumb for " + _.startCase(_.toLower(course))}
role="navigation"
data-module="track-click"
>
<div className="govuk-breadcrumbs ">
<ol className="govuk-breadcrumbs__list">
<li className="govuk-breadcrumbs__list-item">
<Link href="http://www.gov.uk">
<a className="govuk-breadcrumbs__link">GOV.UK</a>
</Link>
</li>
<li className="govuk-breadcrumbs__list-item">
<Link href="/">
<a className="govuk-breadcrumbs__link">
Understand the Prevent Duty
</a>
</Link>
</li>
<li className="govuk-breadcrumbs__list-item">
<Link href="/portal">
<a className="govuk-breadcrumbs__link">Find the right training</a>
</Link>
</li>
{!_.isEmpty(course) ? (
<li className="govuk-breadcrumbs__list-item">
<Link
href={
"/" +
course +
"?id=" +
applicant_id +
"&refno=" +
applicant_ref +
"&courseid=" +
course_id
}
>
<a className="govuk-breadcrumbs__link">
{_.startCase(_.toLower(course))}
</a>
</Link>
</li>
) : (
""
)}
return (
<nav
aria-label={"Breadcrumb for " + _.startCase(_.toLower(course))}
role="navigation"
data-module="track-click"
>
<div className="govuk-breadcrumbs ">
<ol className="govuk-breadcrumbs__list">
<li className="govuk-breadcrumbs__list-item">
<Link href="http://www.gov.uk">
<a className="govuk-breadcrumbs__link">GOV.UK</a>
</Link>
</li>
<li className="govuk-breadcrumbs__list-item">
<Link href="/">
<a className="govuk-breadcrumbs__link">
Appeals Casework Portal
</a>
</Link>
</li>
<li className="govuk-breadcrumbs__list-item">
<Link href="/portal">
<a className="govuk-breadcrumbs__link">
Find the right training
</a>
</Link>
</li>
{!_.isEmpty(course) ? (
<li className="govuk-breadcrumbs__list-item">
<Link
href={
"/" +
course +
"?id=" +
applicant_id +
"&refno=" +
applicant_ref +
"&courseid=" +
course_id
}
>
<a className="govuk-breadcrumbs__link">
{_.startCase(_.toLower(course))}
</a>
</Link>
</li>
) : (
""
)}
<Breadcrumb />
</ol>
</div>
</nav>
);
<Breadcrumb />
</ol>
</div>
</nav>
);
};
export default Breadcrumbs;
+92 -74
View File
@@ -3,82 +3,100 @@ import { useRouter } from "next/router";
import useTranslation from "next-translate/useTranslation";
export default function Footer(props) {
let { t } = useTranslation();
let { t } = useTranslation();
const router = useRouter();
const { locale } = router;
const router = useRouter();
const { locale } = router;
var linksArr = props.footerLinks || [{}];
var linksArr = props.footerLinks || [{}];
const linksBlock = Object.keys(linksArr).map((key) => (
<li className="govuk-footer__inline-list-item" key={key}>
<Link href={linksArr[key].path || "/"}>
<a className="govuk-footer__link">{linksArr[key].title}</a>
</Link>
</li>
));
const linksBlock = Object.keys(linksArr).map((key) => (
<li className="govuk-footer__inline-list-item" key={key}>
<Link href={linksArr[key].path || "/"}>
<a className="govuk-footer__link">{linksArr[key].title}</a>
</Link>
</li>
));
return (
<footer className="govuk-footer " role="contentinfo">
<div className="govuk-width-container ">
<div className="govuk-footer__meta">
<div className="govuk-footer__meta-item govuk-footer__meta-item--grow">
<h2 className="govuk-visually-hidden">Support links</h2>
<nav role="navigation" aria-labelledby="footer_links">
<ul className="govuk-footer__inline-list" id="footer_links">
<li className="govuk-footer__inline-list-item">
<a href="http://www.gov.uk/government/publications/appeals-casework-portal-documentation" id="aTermsConds" className="govuk-footer__link" target="_blank">{t("common:footer-terms-conditions-link")}</a>
</li>
<li className="govuk-footer__inline-list-item">
<a href="https://www.gov.uk/government/publications/planning-inspectorate-privacy-notices" id="aPrivacy" className="govuk-footer__link"target="_blank">{t("common:footer-privacy-link")}</a>
</li>
<li className="govuk-footer__inline-list-item">
<a href="https://www.gov.uk/guidance/appeals-casework-portal-privacy-cookies" id="aCookies" className="govuk-footer__link" target="_blank">{t("common:footer-cookies-link")}</a>
</li>
<li className="govuk-footer__inline-list-item">
<a href="http://www.gov.uk/government/publications/appeals-casework-portal-documentation" className="govuk-footer__link" id="aAccess" target="_blank">{t("common:footer-accessibility-link")}</a>
</li>
<li className="govuk-footer__inline-list-item">
<a href="http://www.gov.uk/guidance/feedback" id="feedback" target="_blank">{t("common:footer-feedback-link")}</a>
</li>
</ul>
</nav>
<svg
aria-hidden="true"
focusable="false"
className="govuk-footer__licence-logo"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 483.2 195.7"
height="17"
width="41"
>
<path
fill="currentColor"
d="M421.5 142.8V.1l-50.7 32.3v161.1h112.4v-50.7zm-122.3-9.6A47.12 47.12 0 0 1 221 97.8c0-26 21.1-47.1 47.1-47.1 16.7 0 31.4 8.7 39.7 21.8l42.7-27.2A97.63 97.63 0 0 0 268.1 0c-36.5 0-68.3 20.1-85.1 49.7A98 98 0 0 0 97.8 0C43.9 0 0 43.9 0 97.8s43.9 97.8 97.8 97.8c36.5 0 68.3-20.1 85.1-49.7a97.76 97.76 0 0 0 149.6 25.4l19.4 22.2h3v-87.8h-80l24.3 27.5zM97.8 145c-26 0-47.1-21.1-47.1-47.1s21.1-47.1 47.1-47.1 47.2 21 47.2 47S123.8 145 97.8 145"
></path>
</svg>
<span className="govuk-footer__licence-description">
All content is available under the{" "}
<a
className="govuk-footer__link"
href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/"
rel="license"
>
Open Government Licence v3.0
</a>
, except where otherwise stated
</span>
</div>
<div className="govuk-footer__meta-item">
<a
className="govuk-footer__link govuk-footer__copyright-logo"
href="https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/"
>
© Crown copyright
</a>
</div>
</div>
</div>
</footer>
);
return (
<footer className="govuk-footer " role="contentinfo">
<div className="govuk-width-container ">
<div className="govuk-footer__meta">
<div className="govuk-footer__meta-item govuk-footer__meta-item--grow">
<h2 className="govuk-visually-hidden">Support links</h2>
<nav role="navigation" aria-labelledby="footer_links">
<ul
className="govuk-footer__inline-list"
id="footer_links"
>
<li className="govuk-footer__inline-list-item">
<a
href="http://www.gov.uk/government/publications/appeals-casework-portal-documentation"
id="aTermsConds"
className="govuk-footer__link"
target="_blank"
>
{t(
"common:footer-terms-conditions-link"
)}
</a>
</li>
<li className="govuk-footer__inline-list-item">
<a
href="https://www.gov.uk/government/publications/planning-inspectorate-privacy-notices"
id="aPrivacy"
className="govuk-footer__link"
target="_blank"
>
{t("common:footer-privacy-link")}
</a>
</li>
<li className="govuk-footer__inline-list-item">
<a
href="https://www.gov.uk/guidance/appeals-casework-portal-privacy-cookies"
id="aCookies"
className="govuk-footer__link"
target="_blank"
>
{t("common:footer-cookies-link")}
</a>
</li>
<li className="govuk-footer__inline-list-item">
<a
href="http://www.gov.uk/government/publications/appeals-casework-portal-documentation"
className="govuk-footer__link"
id="aAccess"
target="_blank"
>
{t("common:footer-accessibility-link")}
</a>
</li>
<li className="govuk-footer__inline-list-item">
<a
href="http://www.gov.uk/guidance/feedback"
id="feedback"
target="_blank"
>
{t("common:footer-feedback-link")}
</a>
</li>
</ul>
</nav>
<div
class="footer_logo container-fluid"
id="footer_logo"
>
<a
href="https://gov.wales/"
class="footer__logo"
id="footerlogo"
>
<span class="visually-hidden">Home</span>
</a>
</div>
</div>
</div>
</div>
</footer>
);
}
+97 -86
View File
File diff suppressed because one or more lines are too long
+28 -26
View File
@@ -4,33 +4,35 @@ import Footer from "../components/footer";
import Header from "../components/header";
export default function SkipLink(props) {
return (
<div>
<Head>
<title>Appeals Casework Portal</title>
</Head>
return (
<div>
<Head>
<title>Appeals Casework Portal</title>
</Head>
<div className="">
<Header courseName="Understand the Prevent Duty" />
<div className="govuk-width-container">
<Banner />
<main
className="govuk-main-wrapper govuk-main-wrapper--auto-spacing"
id="main-content"
role="main"
>
<div className="govuk-grid-row">
<div className="govuk-grid-column-two-thirds">
<noscript>
<h1 className="govuk-heading-l">Please enable javascript</h1>
</noscript>
<h1 className="govuk-heading-m">Loading...</h1>
</div>
<div className="">
<Header courseName="Appeals Casework Portal" />
<div className="govuk-width-container">
<Banner />
<main
className="govuk-main-wrapper govuk-main-wrapper--auto-spacing"
id="main-content"
role="main"
>
<div className="govuk-grid-row">
<div className="govuk-grid-column-two-thirds">
<noscript>
<h1 className="govuk-heading-l">
Please enable javascript
</h1>
</noscript>
<h1 className="govuk-heading-m">Loading...</h1>
</div>
</div>
</main>
</div>
<Footer />
</div>
</main>
</div>
<Footer />
</div>
</div>
);
);
}
+42 -118
View File
@@ -12,11 +12,13 @@ export default function AdvancedSearch() {
<div className="card-body">
<div class="govuk-body-m ">
<legend class="govuk-fieldset__legend govuk-fieldset__legend--l">
<h3 class="govuk-heading-m">Advanced Search</h3>
<h3 class="govuk-heading-m">
{t("search:advanced-search-title-label")}
</h3>
</legend>
<div class="govuk-form-group">
<label class="govuk-label" for="address-line-1">
Appellant/Applicant{" "}
{t("search:applicant-label")}
</label>
<input
class="govuk-input"
@@ -28,7 +30,7 @@ export default function AdvancedSearch() {
</div>
<div class="govuk-form-group">
<label class="govuk-label" for="address-town">
Other Party{" "}
{t("search:other-party-label")}
</label>
<input
class="govuk-input govuk-!-width-two-thirds"
@@ -44,9 +46,10 @@ export default function AdvancedSearch() {
role="group"
aria-describedby="passport-issued-hint"
>
{" "}
<div className="inlineFieldset">
<legend class="govuk-fieldset__legend govuk-!-width-one-third">
Hearing/Inquiry Date Calendar View{" "}
{t("search:hearing-date-label")}
</legend>
<div
class="govuk-date-input"
@@ -122,7 +125,7 @@ export default function AdvancedSearch() {
class="govuk-label govuk-checkboxes__label no__right_padding"
for="waste-3"
>
+/- 30 days
{t("search:date-margin-label")}
</label>
</div>
</div>
@@ -139,7 +142,7 @@ export default function AdvancedSearch() {
{" "}
<div className="inlineFieldset">
<legend class="govuk-fieldset__legend govuk-!-width-one-third">
Hearing/Inquiry Date{" "}
{t("search:site-visit-date-label")}
</legend>
<div
class="govuk-date-input"
@@ -215,7 +218,7 @@ export default function AdvancedSearch() {
class="govuk-label govuk-checkboxes__label no__right_padding"
for="waste-3"
>
+/- 30 days
{t("search:date-margin-label")}
</label>
</div>
</div>
@@ -232,7 +235,7 @@ export default function AdvancedSearch() {
{" "}
<div className="inlineFieldset">
<legend class="govuk-fieldset__legend govuk-!-width-one-third">
Site Visit Date{" "}
{t("search:callin-date-label")}
</legend>
<div
class="govuk-date-input"
@@ -308,7 +311,7 @@ export default function AdvancedSearch() {
class="govuk-label govuk-checkboxes__label no__right_padding"
for="waste-3"
>
+/- 30 days
{t("search:date-margin-label")}
</label>
</div>
</div>
@@ -325,7 +328,7 @@ export default function AdvancedSearch() {
{" "}
<div className="inlineFieldset">
<legend class="govuk-fieldset__legend govuk-!-width-one-third">
Call-In Date{" "}
{t("search:date-received")}
</legend>
<div
class="govuk-date-input"
@@ -401,7 +404,7 @@ export default function AdvancedSearch() {
class="govuk-label govuk-checkboxes__label no__right_padding"
for="waste-3"
>
+/- 30 days
{t("search:date-margin-label")}
</label>
</div>
</div>
@@ -418,7 +421,7 @@ export default function AdvancedSearch() {
{" "}
<div className="inlineFieldset">
<legend class="govuk-fieldset__legend govuk-!-width-one-third">
Date Received{" "}
{t("search:start-date-label")}
</legend>
<div
class="govuk-date-input"
@@ -494,7 +497,7 @@ export default function AdvancedSearch() {
class="govuk-label govuk-checkboxes__label no__right_padding"
for="waste-3"
>
+/- 30 days
{t("search:date-margin-label")}
</label>
</div>
</div>
@@ -511,7 +514,7 @@ export default function AdvancedSearch() {
{" "}
<div className="inlineFieldset">
<legend class="govuk-fieldset__legend govuk-!-width-one-third">
Start Date{" "}
{t("search:decision-date-label")}
</legend>
<div
class="govuk-date-input"
@@ -587,100 +590,7 @@ export default function AdvancedSearch() {
class="govuk-label govuk-checkboxes__label no__right_padding"
for="waste-3"
>
+/- 30 days
</label>
</div>
</div>
</div>
</div>
</fieldset>
</div>
<div class="govuk-form-group form-inline-label">
<fieldset
class="govuk-fieldset"
role="group"
aria-describedby="passport-issued-hint"
>
{" "}
<div className="inlineFieldset">
<legend class="govuk-fieldset__legend govuk-!-width-one-third">
Decision Date{" "}
</legend>
<div
class="govuk-date-input"
id="passport-issued"
>
<div class="govuk-date-input__item">
<div class="govuk-form-group">
<label
class="govuk-label govuk-date-input__label"
for="passport-issued-day"
>
Day
</label>
<input
class="govuk-input govuk-date-input__input govuk-input--width-2"
id="passport-issued-day"
name="passport-issued-day"
type="text"
pattern="[0-9]*"
inputMode="numeric"
/>
</div>
</div>
<div class="govuk-date-input__item">
<div class="govuk-form-group">
<label
class="govuk-label govuk-date-input__label"
for="passport-issued-month"
>
Month
</label>
<input
class="govuk-input govuk-date-input__input govuk-input--width-2"
id="passport-issued-month"
name="passport-issued-month"
type="text"
pattern="[0-9]*"
inputMode="numeric"
/>
</div>
</div>
<div class="govuk-date-input__item">
<div class="govuk-form-group">
<label
class="govuk-label govuk-date-input__label"
for="passport-issued-year"
>
Year
</label>
<input
class="govuk-input govuk-date-input__input govuk-input--width-4"
id="passport-issued-year"
name="passport-issued-year"
type="text"
pattern="[0-9]*"
inputMode="numeric"
/>
</div>
</div>
<div class="govuk-date-input__item">
<div class="govuk-form-group"></div>
<div class="govuk-checkboxes__item">
<input
class="govuk-checkboxes__input"
id="waste-3"
name="waste"
type="checkbox"
value="farm"
/>
<label
class="govuk-label govuk-checkboxes__label no__right_padding"
for="waste-3"
>
+/- 30 days
{t("search:date-margin-label")}
</label>
</div>
</div>
@@ -690,26 +600,40 @@ export default function AdvancedSearch() {
</div>
<div class="govuk-form-group ">
<label class="govuk-label" for="sort">
Procedure Type
{t("search:procedure-type-label")}
</label>
<select class="govuk-select" id="sort" name="sort">
<option value="">-- Select --</option>
<option value="Hearing">Hearing</option>
<option value="Inquiry">Inquiry</option>
<option value="">
{t("search:procedure-type-option-1")}
</option>
<option value="Hearing">
{t("search:procedure-type-option-2")}
</option>
<option value="Inquiry">
{t("search:procedure-type-option-3")}
</option>
<option value="Written representations">
Written representations
{t("search:procedure-type-option-4")}
</option>
</select>
</div>
<div class="govuk-form-group">
<label class="govuk-label" for="sort">
Status Type
{t("search:status-label")}
</label>
<select class="govuk-select" id="sort" name="sort">
<option value="">-- Select --</option>
<option value="Any">Any</option>
<option value="In progress">In progress</option>
<option value="Complete">Complete</option>
<option value="">
{t("search:status-option-1")}
</option>
<option value="Any">
{t("search:status-option-2")}
</option>
<option value="In progress">
{t("search:status-option-3")}
</option>
<option value="Complete">
{t("search:status-option-4")}
</option>
</select>
</div>
</div>
+28 -27
View File
@@ -13,12 +13,12 @@ export default function SearchForCase() {
<div class="govuk-body-m ">
<legend class="govuk-fieldset__legend govuk-fieldset__legend--l">
<h1 class="govuk-fieldset__heading govuk-heading-m">
Search for a case
{t("search:search-title-label")}
</h1>
</legend>
<div class="govuk-form-group">
<label class="govuk-label" for="address-county">
Case Reference (last 7 digits)
{t("search:casereference-label")}
</label>
<input
class="govuk-input govuk-!-width-two-thirds"
@@ -29,14 +29,13 @@ export default function SearchForCase() {
</div>
<fieldset class="govuk-fieldset">
<legend class="govuk-fieldset__legend govuk-fieldset__legend--l">
<h3 class="govuk-heading-m">Site Location</h3>
<h3 class="govuk-heading-m">
{t("search:sitelocation-legend")}
</h3>
</legend>
<div class="govuk-form-group">
<label class="govuk-label" for="address-line-1">
First Line of Address{" "}
<span class="govuk-visually-hidden">
line 1 of 2
</span>
{t("search:address-line-one-label")}
</label>
<input
class="govuk-input"
@@ -49,7 +48,7 @@ export default function SearchForCase() {
<div class="govuk-form-group">
<label class="govuk-label" for="address-town">
Town/City (nearest)
{t("search:town-label")}
</label>
<input
class="govuk-input govuk-!-width-two-thirds"
@@ -62,7 +61,7 @@ export default function SearchForCase() {
<div class="govuk-form-group">
<label class="govuk-label" for="address-county">
County
{t("search:county-label")}
</label>
<input
class="govuk-input govuk-!-width-two-thirds"
@@ -74,7 +73,7 @@ export default function SearchForCase() {
<div class="govuk-form-group">
<label class="govuk-label" for="address-postcode">
Postcode
{t("search:postcode-label")}
</label>
<input
class="govuk-input govuk-input--width-10"
@@ -87,7 +86,7 @@ export default function SearchForCase() {
</fieldset>
<div class="govuk-form-group">
<label class="govuk-label" for="address-postcode">
Local Planning Authority
{t("search:lpa-label")}{" "}
</label>
<input
class="govuk-input govuk-input--width-10"
@@ -99,7 +98,7 @@ export default function SearchForCase() {
</div>
<div class="govuk-form-group">
<label class="govuk-label" for="address-postcode">
LPA Reference Number
{t("search:lpa-reference-label")}{" "}
</label>
<input
class="govuk-input govuk-input--width-10"
@@ -111,42 +110,44 @@ export default function SearchForCase() {
</div>
<div class="govuk-form-group">
<label class="govuk-label" for="sort">
Case Type
{t("search:case-type-label")}{" "}
</label>
<select class="govuk-select" id="sort" name="sort">
<option value="">-- Select --</option>
<option value="Any/All">Any/All</option>
<option value="">
{t("search:case-type-option-1")}
</option>
<option value="Any/All">
{t("search:case-type-option-2")}
</option>
<option value="Advertisement Appeals">
Advertisement Appeals
{t("search:case-type-option-3")}
</option>
<option value="Called in Planning Applications">
Called in Planning Applications
{t("search:case-type-option-4")}
</option>
<option value="Discontinuance Notice Appeals">
Discontinuance Notice Appeals
{t("search:case-type-option-5")}
</option>
<option value="Enforcement Listed Building and Conservation Area Appeals">
Enforcement Listed Building and Conservation
Area Appeals
{t("search:case-type-option-6")}
</option>
<option value="Enforcement Appeals">
Enforcement Appeals
{t("search:case-type-option-7")}
</option>
<option value="Householder Appeals">
Householder Appeals
{t("search:case-type-option-8")}
</option>
<option value="Lawful Development Certificate Appeals">
Lawful Development Certificate Appeals
{t("search:case-type-option-9")}
</option>
<option value="Planning Appeals">
Planning Appeals
{t("search:case-type-option-10")}
</option>
<option value="Planning Obligation Appeals">
Planning Obligation Appeals
{t("search:case-type-option-11")}
</option>
<option value="Planning Listed Building and Conservation Area Appeals">
Planning Listed Building and Conservation Area
Appeals
{t("search:case-type-option-12")}
</option>
</select>
</div>
+11 -8
View File
@@ -11,28 +11,31 @@ export default function SearchResults() {
<div className="govuk-grid-row">
<div className="govuk-grid-column-full">
<h1 class="govuk-heading-xl govuk-!-margin-bottom-7">
Search for a case
{t("search:searchresults-title-label")}
</h1>
<p className="govuk-body">Your search returned 99 results.</p>
<p className="govuk-body">
{t("search:searchresults-count-label-part-1")} 99{" "}
{t("search:searchresults-count-label-part-2")}
</p>
<dl class="govuk-summary-list govuk-!-margin-bottom-9">
<div class="govuk-summary-list__row results-headings">
<dd class="govuk-summary-list__key govuk-!-font-size-14 results_wider govuk-!-padding-left-2">
Case Reference
{t("search:searchresults-case-reference-label")}
</dd>
<dd class="govuk-summary-list__key govuk-!-font-size-14">
Site Address
{t("search:searchresults-site-address-label")}
</dd>
<dd class="govuk-summary-list__key govuk-!-font-size-14">
Appellant/Applicant
{t("search:searchresults-applicant-label")}
</dd>
<dd class="govuk-summary-list__key govuk-!-font-size-14">
Authority
{t("search:searchresults-authority-label")}
</dd>
<dd class="govuk-summary-list__key govuk-!-font-size-14">
Case Type
{t("search:searchresults-case-type-label")}
</dd>
<dd class="govuk-summary-list__key govuk-!-font-size-14">
Status
{t("search:searchresults-status-label")}
</dd>
</div>
<div class="govuk-summary-list__row">
+6 -2
View File
@@ -26,11 +26,15 @@ export default function Search({ children, pages }) {
<div className="govuk-grid-column-full">
<div class="govuk-button-group">
<Link href="/advancedsearch">
<a className="govuk-button">Refine Search</a>
<a className="govuk-button">
{t("search:searchresults-search-button-label")}
</a>
</Link>
<Link href="/advancedsearch">
<a className="govuk-button govuk-button--secondary">
New Search
{t(
"search:searchresults-new-search-button-label"
)}
</a>
</Link>
</div>
+6
View File
@@ -13,6 +13,12 @@
],
"/myportal": [
"myportal"
],
"/advancedsearch": [
"search"
],
"/searchresults": [
"search"
]
}
}
+1 -1
View File
@@ -1,5 +1,5 @@
{
"service-name": "Porth Gwaith Achos Apeliadau",
"service-name": "Penderfyniadau Cynllunio ac Amgylchedd Cymru",
"breadcrumb-back-link": "Yn ôl",
"error-radio": "Dewiswch opsiwn",
"error-checkbox": "Enter a value",
+60
View File
@@ -0,0 +1,60 @@
{
"page-title": "Crynodeb or Achos ar gyfer",
"search-title-label": "Crynodeb or Achos ar gyfer",
"casereference-label": "Cyfeirnod yr Achos (7 digid olaf)",
"sitelocation-legend": "Lleoliad y Safle",
"address-line-one-label": "Llinell gyntaf y cyfeiriad",
"town-label": "Tref/Dinas (agosaf)",
"county-label": "Sir",
"postcode-label": "Cod Post",
"lpa-label": "Awdurdod Cynllunio Lleol",
"lpa-reference-label": "Cyfeirnod yr Awdurdod Cynllunio Lleol",
"case-type-label": "Math o Achos",
"case-type-option-1": "--Dewiswch--",
"case-type-option-2": "Unrhyw fath/Pob math",
"case-type-option-3": "Apeliadau Hysbysebu",
"case-type-option-4": "Ceisiadau Cynllunio a Alwyd i Mewn",
"case-type-option-5": "Apeliadau Gorchymyn i ben",
"case-type-option-6": "Apeliadau gorfodi parthed adeilad rhestredig ac ardal gadwraeth",
"case-type-option-7": "Apeliadau Gorfodi",
"case-type-option-8": "Apeliadau perchennog tŷ",
"case-type-option-9": "Apeliadau Tystysgrid Datblygiad Cyfreithlon",
"case-type-option-10": "Apeliadau Cynllunio",
"case-type-option-11": "Apeliadau Rhwymedigaethau Cynllunio",
"case-type-option-12": "Apeliadau cynllunio adeiladau rhestredig ac ardal gadwraeth",
"advanced-search-title-label": "Chwiliad manwl",
"applicant-label": "Apelydd/Ymgeisydd",
"other-party-label": "Parti Arall",
"hearing-date-label": "Dyddiad y Gwrandawaid/Ymchwiliad",
"site-visit-date-label": "Dyddiad yr Ymweliad ar Safle",
"callin-date-label": "Dyddiad galw i mewn",
"date-received": "Dyddiad Derbyn",
"start-date-label": "Dyddiad Dechrau",
"decision-date-label": "Dyddiad y Penderfyniad",
"procedure-type-label": "Math o weithdrefn",
"procedure-type-option-1": "--Dewiswch--",
"procedure-type-option-2": "Gwrandawiad",
"procedure-type-option-3": "Ymchwiliad",
"procedure-type-option-4": "Sylwadau ysgrifenedig",
"status-label": "Statws",
"status-option-1": "--Dewiswch--",
"status-option-2": "Unrhyw rai",
"status-option-3": "Yn mynd rhagddo",
"status-option-4": "Cyflawn",
"date-margin-label": "+/- 30 diwrnod",
"search-button-label": "Chwilio",
"clear-button-label": "Cliriwch",
"clear-all-button-label": "Clirio Pob Un",
"searchresults-title-label": "Crynodeb or Achos ar gyfer",
"searchresults-count-label-part-1": "Cafodd eich chwiliad",
"searchresults-count-label-part-2": "o ganlyniadau",
"searchresults-case-reference-label": "Cyfeirnod yr Achos",
"searchresults-site-address-label": "Cyfeiriad y Safle",
"searchresults-applicant-label": "Apelydd/Ymgeisydd",
"searchresults-authority-label": "ACLl",
"searchresults-case-type-label": "Math o Achos",
"searchresults-status-label": "Statws",
"searchresults-watch-label": "Gwylio",
"searchresults-search-button-label": "Mireinio'r chwiliad",
"searchresults-new-search-button-label": "Chwiliad newydd"
}
+1 -1
View File
@@ -1,5 +1,5 @@
{
"service-name": "Appeals Casework Portal",
"service-name": "Planning & Environment Decisions Wales",
"breadcrumb-back-link": "Back",
"error-radio": "Choose an option",
"error-checkbox": "Choose an option",
+60
View File
@@ -0,0 +1,60 @@
{
"page-title": "Search for a case",
"search-title-label": "Search for a case",
"casereference-label": "Case reference (last 7 digits)",
"sitelocation-legend": "Site location",
"address-line-one-label": "First line of address",
"town-label": "Town/City (nearest)",
"county-label": "County",
"postcode-label": "Postcode",
"lpa-label": "Local Planning Authority",
"lpa-reference-label": "LPA reference number",
"case-type-label": "Case type",
"case-type-option-1": "-- Select --",
"case-type-option-2": "Any/All",
"case-type-option-3": "Advertisement Appeals",
"case-type-option-4": "Called in Planning Applications",
"case-type-option-5": "Discontinuance Notice Appeals",
"case-type-option-6": "Enforcement Listed Building and Conservation Area Appeals",
"case-type-option-7": "Enforcement Appeals",
"case-type-option-8": "Householder Appeals",
"case-type-option-9": "Lawful Development Certificate Appeals",
"case-type-option-10": "Planning Appeals",
"case-type-option-11": "Planning Obligation Appeals",
"case-type-option-12": "Planning Listed Building and Conservation Area Appeals",
"advanced-search-title-label": "Advanced search",
"applicant-label": "Appellant/Applicant",
"other-party-label": "Other Party",
"hearing-date-label": "Hearing/Enquiry date",
"site-visit-date-label": "Site visit date",
"callin-date-label": "Call-in date",
"date-received": "Date received",
"start-date-label": "Start date",
"decision-date-label": "Decision date",
"procedure-type-label": "Procedure type",
"procedure-type-option-1": "--Select--",
"procedure-type-option-2": "Hearing",
"procedure-type-option-3": "Inquiry",
"procedure-type-option-4": "Written representations",
"status-label": "Status",
"status-option-1": "--Select--",
"status-option-2": "Any",
"status-option-3": "In Progress",
"status-option-4": "Complete",
"date-margin-label": "+/- 30 days",
"search-button-label": "Search",
"clear-button-label": "Clear",
"clear-all-button-label": "Clear all",
"searchresults-title-label": "Search for a case",
"searchresults-count-label-part-1": "Your search returned",
"searchresults-count-label-part-2": "results",
"searchresults-case-reference-label": "Case reference",
"searchresults-site-address-label": "Site address",
"searchresults-applicant-label": "Appellant/Applicant",
"searchresults-authority-label": "Authorty",
"searchresults-case-type-label": "Case type",
"searchresults-status-label": "Status",
"searchresults-watch-label": "Watch",
"searchresults-search-button-label": "Refine Search",
"searchresults-new-search-button-label": "New Search"
}
+23 -22
View File
@@ -4,7 +4,7 @@ import Header from "../components/header";
import Banner from "../components/banner";
import CookieBanner from "../components/cookieBanner";
import Breadcrumbs from "../components/breadcrumbs";
import Search from "../components/advancedsearch";
import Search from "../components/search";
import Footer from "../components/footer";
import Errorpage from "../components/errorpage";
import styles from "../styles/Home.module.css";
@@ -15,28 +15,30 @@ import { useRouter } from "next/router";
import useTranslation from "next-translate/useTranslation";
const Home = (props) => {
const { footerLinks, pages } = props;
let { t,lang } = useTranslation();
const { footerLinks, pages } = props;
let { t, lang } = useTranslation();
const router = useRouter();
const { locale } = router;
const router = useRouter();
const { locale } = router;
return (
<div>
<Head>
<title>{t("myportal:page-title")} - {t("common:service-name")}</title>
</Head>
<div className="">
<CookieBanner />
<Header courseName={t("common:service-name")} />
<div className="govuk-width-container">
<Banner />
<Search/>
return (
<div>
<Head>
<title>
{t("search:page-title")} - {t("common:service-name")}
</title>
</Head>
<div className="">
<CookieBanner />
<Header courseName={t("common:service-name")} />
<div className="govuk-width-container">
<Banner />
<Search />
</div>
<Footer footerLinks={footerLinks} />
</div>
</div>
<Footer footerLinks={footerLinks} />
</div>
</div>
);
);
};
// export const getServerSideProps = wrapper.getServerSideProps(
@@ -73,5 +75,4 @@ const Home = (props) => {
// };
// };
export default Home//connect(mapStateToProps)(Home);
export default Home; //connect(mapStateToProps)(Home);
File diff suppressed because one or more lines are too long