From 14e16cce83a4d556831b95760ac1e2f9393cdc3d Mon Sep 17 00:00:00 2001 From: Mateusz Konieczny Date: Wed, 14 Dec 2022 11:52:29 +0100 Subject: [PATCH] remove yes/no style questions where there is no yes/no answer --- app/src/frontend/building/data-containers/planning.tsx | 4 ++-- app/src/frontend/config/data-fields-config.ts | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/src/frontend/building/data-containers/planning.tsx b/app/src/frontend/building/data-containers/planning.tsx index dea2038b..f2eb4f92 100644 --- a/app/src/frontend/building/data-containers/planning.tsx +++ b/app/src/frontend/building/data-containers/planning.tsx @@ -251,7 +251,7 @@ const PlanningView: React.FunctionComponent = (props) => { mode={props.mode} copy={props.copy} onChange={props.onChange} - placeholder="If yes, add ID here" + placeholder="add ID here" linkTargetFunction={(id: String) => { return "https://historicengland.org.uk/listing/the-list/list-entry/" + id + "?section=official-list-entry" } } linkDescriptionFunction={(id: String) => { return "ID Link" } } /> @@ -311,7 +311,7 @@ const PlanningView: React.FunctionComponent = (props) => { mode={props.mode} copy={props.copy} onChange={props.onChange} - placeholder="If yes, add ID here" + placeholder="add ID here" linkTargetFunction={(id: String) => { return "https://whc.unesco.org/en/list/" + id } } linkDescriptionFunction={(id: String) => { return "ID Link" } } /> diff --git a/app/src/frontend/config/data-fields-config.ts b/app/src/frontend/config/data-fields-config.ts index a4e79e3d..5ed1e276 100644 --- a/app/src/frontend/config/data-fields-config.ts +++ b/app/src/frontend/config/data-fields-config.ts @@ -504,7 +504,7 @@ export const dataFields = { /* eslint-disable @typescript-eslint/camelcase */ }, planning_list_id: { category: Category.Planning, - title: "Is the building on the National Heritage List for England?", + title: "If the building is on the National Heritage List for England (NHLE) please add the ID:", example: "121436", //tooltip: , }, @@ -516,13 +516,13 @@ export const dataFields = { /* eslint-disable @typescript-eslint/camelcase */ }, planning_heritage_at_risk_url: { category: Category.Planning, - title: "Is it on the Heritage at Risk register?", + title: "If the building is on the Heritage at Risk register please add the ID:", example: "", //tooltip: , }, planning_world_list_id: { category: Category.Planning, - title: "Is it within a World Heritage Site?", + title: "If the building is on a World Heritage Site please add the ID:", example: "488", //tooltip: , },