hof 20.0.0-beta.21 → 20.0.0-beta.24

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ {"parent":null,"pid":18892,"argv":["/Users/sulthan/.nvm/versions/node/v16.15.0/bin/node","/Users/sulthan/development/HO/hof/node_modules/.bin/_mocha","test/**/*.spec.js","sandbox/test/**/*.spec.js"],"execArgv":[],"cwd":"/Users/sulthan/development/HO/hof","time":1655401584552,"ppid":18891,"coverageFilename":"/Users/sulthan/development/HO/hof/.nyc_output/e2fdc3eb-4fd2-47e0-a392-fe5f665776a4.json","externalId":"","uuid":"e2fdc3eb-4fd2-47e0-a392-fe5f665776a4","files":["/Users/sulthan/development/HO/hof/model/index.js","/Users/sulthan/development/HO/hof/components/index.js","/Users/sulthan/development/HO/hof/components/address-lookup/index.js","/Users/sulthan/development/HO/hof/components/address-lookup/default-model.js","/Users/sulthan/development/HO/hof/components/address-lookup/defaults.js","/Users/sulthan/development/HO/hof/components/clear-session/index.js","/Users/sulthan/development/HO/hof/components/date/index.js","/Users/sulthan/development/HO/hof/components/date/fields.js","/Users/sulthan/development/HO/hof/components/emailer/index.js","/Users/sulthan/development/HO/hof/components/emailer/email-service.js","/Users/sulthan/development/HO/hof/components/emailer/emailer.js","/Users/sulthan/development/HO/hof/components/emailer/transports/index.js","/Users/sulthan/development/HO/hof/components/emailer/transports/smtp.js","/Users/sulthan/development/HO/hof/components/emailer/transports/ses.js","/Users/sulthan/development/HO/hof/components/emailer/transports/stub.js","/Users/sulthan/development/HO/hof/components/emailer/transports/debug.js","/Users/sulthan/development/HO/hof/components/summary/index.js","/Users/sulthan/development/HO/hof/config/rate-limits.js","/Users/sulthan/development/HO/hof/middleware/rate-limiter.js","/Users/sulthan/development/HO/hof/config/hof-defaults.js","/Users/sulthan/development/HO/hof/controller/base-controller.js","/Users/sulthan/development/HO/hof/controller/formatting/index.js","/Users/sulthan/development/HO/hof/controller/validation/index.js","/Users/sulthan/development/HO/hof/controller/validation/validators.js","/Users/sulthan/development/HO/hof/controller/validation/email.js","/Users/sulthan/development/HO/hof/controller/validation-error.js","/Users/sulthan/development/HO/hof/utilities/index.js","/Users/sulthan/development/HO/hof/utilities/autofill/index.js","/Users/sulthan/development/HO/hof/utilities/autofill/inputs.js","/Users/sulthan/development/HO/hof/utilities/test-data/index.js","/Users/sulthan/development/HO/hof/utilities/countries.js","/Users/sulthan/development/HO/hof/utilities/helpers/index.js","/Users/sulthan/development/HO/hof/utilities/reqres/index.js","/Users/sulthan/development/HO/hof/config/sanitisation-rules.js","/Users/sulthan/development/HO/hof/controller/formatting/formatters.js","/Users/sulthan/development/HO/hof/controller/index.js","/Users/sulthan/development/HO/hof/controller/behaviour-session.js","/Users/sulthan/development/HO/hof/controller/behaviour-hooks.js","/Users/sulthan/development/HO/hof/controller/controller.js","/Users/sulthan/development/HO/hof/sandbox/apps/sandbox/behaviours/country-select.js","/Users/sulthan/development/HO/hof/frontend/template-mixins/mixins/index.js","/Users/sulthan/development/HO/hof/frontend/template-mixins/mixins/template-mixins.js","/Users/sulthan/development/HO/hof/frontend/template-mixins/mixins/render.js","/Users/sulthan/development/HO/hof/frontend/template-mixins/mixins/helpers.js","/Users/sulthan/development/HO/hof/index.js","/Users/sulthan/development/HO/hof/frontend/index.js","/Users/sulthan/development/HO/hof/frontend/govuk-template/index.js","/Users/sulthan/development/HO/hof/frontend/govuk-template/build/index.js","/Users/sulthan/development/HO/hof/frontend/govuk-template/build/config.js","/Users/sulthan/development/HO/hof/frontend/template-partials/index.js","/Users/sulthan/development/HO/hof/frontend/template-partials/translations/index.js","/Users/sulthan/development/HO/hof/frontend/themes/index.js","/Users/sulthan/development/HO/hof/frontend/themes/gov-uk/index.js","/Users/sulthan/development/HO/hof/frontend/toolkit/index.js","/Users/sulthan/development/HO/hof/frontend/toolkit/assets/javascript/helpers.js","/Users/sulthan/development/HO/hof/frontend/toolkit/assets/javascript/form-focus.js","/Users/sulthan/development/HO/hof/frontend/toolkit/assets/javascript/progressive-reveal.js","/Users/sulthan/development/HO/hof/frontend/toolkit/assets/javascript/validation.js","/Users/sulthan/development/HO/hof/frontend/toolkit/assets/javascript/character-count.js","/Users/sulthan/development/HO/hof/middleware/index.js","/Users/sulthan/development/HO/hof/middleware/cookies.js","/Users/sulthan/development/HO/hof/middleware/errors.js","/Users/sulthan/development/HO/hof/middleware/not-found.js","/Users/sulthan/development/HO/hof/middleware/deep-translate.js","/Users/sulthan/development/HO/hof/lib/markdown.js","/Users/sulthan/development/HO/hof/lib/router.js","/Users/sulthan/development/HO/hof/wizard/index.js","/Users/sulthan/development/HO/hof/wizard/behaviours/index.js","/Users/sulthan/development/HO/hof/wizard/behaviours/complete.js","/Users/sulthan/development/HO/hof/wizard/util/constants.js","/Users/sulthan/development/HO/hof/lib/helpers.js","/Users/sulthan/development/HO/hof/lib/health.js","/Users/sulthan/development/HO/hof/lib/serve-static.js","/Users/sulthan/development/HO/hof/lib/ga-tag.js","/Users/sulthan/development/HO/hof/lib/sessions.js","/Users/sulthan/development/HO/hof/lib/settings.js","/Users/sulthan/development/HO/hof/lib/logger.js","/Users/sulthan/development/HO/hof/build/index.js","/Users/sulthan/development/HO/hof/config/builder-defaults.js","/Users/sulthan/development/HO/hof/transpiler/index.js","/Users/sulthan/development/HO/hof/transpiler/lib/compile.js","/Users/sulthan/development/HO/hof/transpiler/lib/build.js","/Users/sulthan/development/HO/hof/transpiler/lib/expand-dirs.js","/Users/sulthan/development/HO/hof/transpiler/lib/aggregate.js","/Users/sulthan/development/HO/hof/transpiler/lib/write-files.js","/Users/sulthan/development/HO/hof/model/apis/index.js","/Users/sulthan/development/HO/hof/model/apis/html-to-pdf-converter.js","/Users/sulthan/development/HO/hof/wizard/model.js","/Users/sulthan/development/HO/hof/wizard/middleware/back-links.js","/Users/sulthan/development/HO/hof/wizard/util/helpers.js","/Users/sulthan/development/HO/hof/wizard/middleware/check-complete.js","/Users/sulthan/development/HO/hof/wizard/middleware/check-progress.js","/Users/sulthan/development/HO/hof/wizard/middleware/check-session.js","/Users/sulthan/development/HO/hof/wizard/middleware/csrf.js","/Users/sulthan/development/HO/hof/sandbox/test/_unit/example_app/sections/summary-data-sections.spec.js","/Users/sulthan/development/HO/hof/sandbox/apps/sandbox/sections/summary-data-sections.js","/Users/sulthan/development/HO/hof/sandbox/apps/sandbox/lib/staticAppealStages.js","/Users/sulthan/development/HO/hof/sandbox/apps/sandbox/fields.js","/Users/sulthan/development/HO/hof/sandbox/test/helpers/utilities.js","/Users/sulthan/development/HO/hof/sandbox/apps/sandbox/behaviours/international-number.js","/Users/sulthan/development/HO/hof/lib/encryption.js","/Users/sulthan/development/HO/hof/wizard/middleware/session.js","/Users/sulthan/development/HO/hof/wizard/middleware/session-model.js"]}
@@ -0,0 +1 @@
1
+ {"processes":{"e2fdc3eb-4fd2-47e0-a392-fe5f665776a4":{"parent":null,"children":[]}},"files":{"/Users/sulthan/development/HO/hof/model/index.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/components/index.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/components/address-lookup/index.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/components/address-lookup/default-model.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/components/address-lookup/defaults.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/components/clear-session/index.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/components/date/index.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/components/date/fields.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/components/emailer/index.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/components/emailer/email-service.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/components/emailer/emailer.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/components/emailer/transports/index.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/components/emailer/transports/smtp.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/components/emailer/transports/ses.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/components/emailer/transports/stub.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/components/emailer/transports/debug.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/components/summary/index.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/config/rate-limits.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/middleware/rate-limiter.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/config/hof-defaults.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/controller/base-controller.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/controller/formatting/index.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/controller/validation/index.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/controller/validation/validators.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/controller/validation/email.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/controller/validation-error.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/utilities/index.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/utilities/autofill/index.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/utilities/autofill/inputs.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/utilities/test-data/index.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/utilities/countries.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/utilities/helpers/index.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/utilities/reqres/index.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/config/sanitisation-rules.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/controller/formatting/formatters.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/controller/index.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/controller/behaviour-session.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/controller/behaviour-hooks.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/controller/controller.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/sandbox/apps/sandbox/behaviours/country-select.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/frontend/template-mixins/mixins/index.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/frontend/template-mixins/mixins/template-mixins.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/frontend/template-mixins/mixins/render.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/frontend/template-mixins/mixins/helpers.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/index.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/frontend/index.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/frontend/govuk-template/index.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/frontend/govuk-template/build/index.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/frontend/govuk-template/build/config.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/frontend/template-partials/index.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/frontend/template-partials/translations/index.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/frontend/themes/index.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/frontend/themes/gov-uk/index.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/frontend/toolkit/index.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/frontend/toolkit/assets/javascript/helpers.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/frontend/toolkit/assets/javascript/form-focus.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/frontend/toolkit/assets/javascript/progressive-reveal.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/frontend/toolkit/assets/javascript/validation.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/frontend/toolkit/assets/javascript/character-count.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/middleware/index.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/middleware/cookies.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/middleware/errors.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/middleware/not-found.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/middleware/deep-translate.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/lib/markdown.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/lib/router.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/wizard/index.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/wizard/behaviours/index.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/wizard/behaviours/complete.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/wizard/util/constants.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/lib/helpers.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/lib/health.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/lib/serve-static.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/lib/ga-tag.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/lib/sessions.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/lib/settings.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/lib/logger.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/build/index.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/config/builder-defaults.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/transpiler/index.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/transpiler/lib/compile.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/transpiler/lib/build.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/transpiler/lib/expand-dirs.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/transpiler/lib/aggregate.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/transpiler/lib/write-files.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/model/apis/index.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/model/apis/html-to-pdf-converter.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/wizard/model.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/wizard/middleware/back-links.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/wizard/util/helpers.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/wizard/middleware/check-complete.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/wizard/middleware/check-progress.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/wizard/middleware/check-session.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/wizard/middleware/csrf.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/sandbox/test/_unit/example_app/sections/summary-data-sections.spec.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/sandbox/apps/sandbox/sections/summary-data-sections.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/sandbox/apps/sandbox/lib/staticAppealStages.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/sandbox/apps/sandbox/fields.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/sandbox/test/helpers/utilities.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/sandbox/apps/sandbox/behaviours/international-number.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/lib/encryption.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/wizard/middleware/session.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"],"/Users/sulthan/development/HO/hof/wizard/middleware/session-model.js":["e2fdc3eb-4fd2-47e0-a392-fe5f665776a4"]},"externalIds":{}}
@@ -0,0 +1,6 @@
1
+ {
2
+ "search.exclude": {
3
+ "": true,
4
+ "**/node_modules": false
5
+ }
6
+ }
@@ -115,6 +115,7 @@ module.exports = class Controller extends BaseController {
115
115
  title: this.getTitle(route, lookup, req.form.options.fields, res.locals),
116
116
  header: this.getHeader(route, lookup, res.locals),
117
117
  captionHeading: this.getCaptionHeading(route, lookup, res.locals),
118
+ warning: this.getWarning(route, lookup, res.locals),
118
119
  subHeading: this.getSubHeading(route, lookup, res.locals),
119
120
  intro: this.getIntro(route, lookup, res.locals),
120
121
  backLink: this.getBackLink(req, res),
@@ -143,6 +144,10 @@ module.exports = class Controller extends BaseController {
143
144
  return lookup(`pages.${route}.subHeading`, locals);
144
145
  }
145
146
 
147
+ getWarning(route, lookup, locals) {
148
+ return lookup(`pages.${route}.warning`, locals);
149
+ }
150
+
146
151
  getTitle(route, lookup, fields, locals) {
147
152
  let fieldName = '';
148
153
  if (_.size(fields)) {
@@ -44,9 +44,16 @@
44
44
  {{/gaTagId}}
45
45
  {{/cookieMessage}}
46
46
  {{$footerSupportLinks}}
47
- <li class="govuk-footer__inline-list-item"><a class="govuk-footer__link" href="/cookies">{{#t}}base.cookies{{/t}}</a></li>
48
- <li class="govuk-footer__inline-list-item"><a class="govuk-footer__link" href="/accessibility">{{#t}}base.accessibility{{/t}}</a></li>
49
- <li class="govuk-footer__inline-list-item"><a class="govuk-footer__link" href="/terms-and-conditions">{{#t}}base.terms{{/t}}</a></li>
47
+ <ul>
48
+ {{#footerSupportLinks}}
49
+ <li><a href="{{path}}">{{#t}}{{property}}{{/t}}</a></li>
50
+ {{/footerSupportLinks}}
51
+ {{^footerSupportLinks}}
52
+ <li class="govuk-footer__inline-list-item"><a class="govuk-footer__link" href="/cookies">{{#t}}base.cookies{{/t}}</a></li>
53
+ <li class="govuk-footer__inline-list-item"><a class="govuk-footer__link" href="/accessibility">{{#t}}base.accessibility{{/t}}</a></li>
54
+ <li class="govuk-footer__inline-list-item"><a class="govuk-footer__link" href="/terms-and-conditions">{{#t}}base.terms{{/t}}</a></li>
55
+ {{/footerSupportLinks}}
56
+ </ul>
50
57
  {{/footerSupportLinks}}
51
58
  {{$bodyEnd}}
52
59
  {{> partials-gatag}}
@@ -0,0 +1,7 @@
1
+ <div class="govuk-warning-text">
2
+ <span class="govuk-warning-text__icon" aria-hidden="true">!</span>
3
+ <strong class="govuk-warning-text__text">
4
+ <span class="govuk-warning-text__assistive">Warning</span>
5
+ {{warning}}
6
+ </strong>
7
+ </div>
@@ -14,7 +14,7 @@ $path: "/public/images/" !default;
14
14
 
15
15
  // Govuk frontend
16
16
  // https://github.com/alphagov/govuk-frontend-docs
17
- @import "node_modules/govuk-frontend/govuk/all";
17
+ @import "govuk-frontend";
18
18
 
19
19
  // Custom
20
20
  @import "base";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hof",
3
3
  "description": "A bootstrap for HOF projects",
4
- "version": "20.0.0-beta.21",
4
+ "version": "20.0.0-beta.24",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
7
7
  "author": "HomeOffice",
package/sandbox/.env ADDED
@@ -0,0 +1 @@
1
+ // GA_TAG=UA-215558609-1
@@ -9204,7 +9204,6 @@ dl {
9204
9204
  .govuk-form-group--error {
9205
9205
  box-sizing: border-box;
9206
9206
  padding-left: 12px;
9207
- border-left: 4px solid #b10e1e;
9208
9207
  }
9209
9208
  .govuk-form-group--error:focus {
9210
9209
  outline: 3px solid #ffbf47;
@@ -9220,7 +9219,6 @@ dl {
9220
9219
  text-transform: none;
9221
9220
  font-size: 16px;
9222
9221
  line-height: 1.25;
9223
- color: #b10e1e;
9224
9222
  }
9225
9223
  @media (min-width: 641px) {
9226
9224
  .govuk-error-message {
package/sandbox/server.js CHANGED
@@ -13,5 +13,6 @@ bootstrap({
13
13
  active: true
14
14
  }
15
15
  },
16
- getAccessibility: true
16
+ getAccessibility: true,
17
+ "port": 8082
17
18
  });