remove yes/no style questions where there is no yes/no answer

This commit is contained in:
Mateusz Konieczny 2022-12-14 11:52:29 +01:00
parent 79761ab67a
commit 14e16cce83
2 changed files with 5 additions and 5 deletions

View File

@ -251,7 +251,7 @@ const PlanningView: React.FunctionComponent<CategoryViewProps> = (props) => {
mode={props.mode} mode={props.mode}
copy={props.copy} copy={props.copy}
onChange={props.onChange} 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" } } linkTargetFunction={(id: String) => { return "https://historicengland.org.uk/listing/the-list/list-entry/" + id + "?section=official-list-entry" } }
linkDescriptionFunction={(id: String) => { return "ID Link" } } linkDescriptionFunction={(id: String) => { return "ID Link" } }
/> />
@ -311,7 +311,7 @@ const PlanningView: React.FunctionComponent<CategoryViewProps> = (props) => {
mode={props.mode} mode={props.mode}
copy={props.copy} copy={props.copy}
onChange={props.onChange} onChange={props.onChange}
placeholder="If yes, add ID here" placeholder="add ID here"
linkTargetFunction={(id: String) => { return "https://whc.unesco.org/en/list/" + id } } linkTargetFunction={(id: String) => { return "https://whc.unesco.org/en/list/" + id } }
linkDescriptionFunction={(id: String) => { return "ID Link" } } linkDescriptionFunction={(id: String) => { return "ID Link" } }
/> />

View File

@ -504,7 +504,7 @@ export const dataFields = { /* eslint-disable @typescript-eslint/camelcase */
}, },
planning_list_id: { planning_list_id: {
category: Category.Planning, category: Category.Planning,
title: "Is the building on the <a href=\"https://historicengland.org.uk/advice/hpg/heritage-assets/nhle/\" target=\"_blank\">National Heritage List for England</a>?", title: "If the building is on the <a href=\"https://historicengland.org.uk/advice/hpg/heritage-assets/nhle/\" target=\"_blank\">National Heritage List for England (NHLE)</a> please add the ID:",
example: "121436", example: "121436",
//tooltip: , //tooltip: ,
}, },
@ -516,13 +516,13 @@ export const dataFields = { /* eslint-disable @typescript-eslint/camelcase */
}, },
planning_heritage_at_risk_url: { planning_heritage_at_risk_url: {
category: Category.Planning, category: Category.Planning,
title: "Is it on the <a href=\"https://historicengland.org.uk/advice/heritage-at-risk/search-register/\" target=\"_blank\">Heritage at Risk</a> register?", title: "If the building is on the <a href=\"https://historicengland.org.uk/advice/heritage-at-risk/search-register/\" target=\"_blank\">Heritage at Risk</a> register please add the ID:",
example: "", example: "",
//tooltip: , //tooltip: ,
}, },
planning_world_list_id: { planning_world_list_id: {
category: Category.Planning, category: Category.Planning,
title: "Is it within a <a href=\"https://historicengland.org.uk/advice/hpg/has/whs/\" target=\"_blank\">World Heritage Site</a>?", title: "If the building is on a <a href=\"https://historicengland.org.uk/advice/hpg/has/whs/\" target=\"_blank\">World Heritage Site</a> please add the ID:",
example: "488", example: "488",
//tooltip: , //tooltip: ,
}, },