From 32048bd253fb4385f0fa69e1c81253cc289b1d5e Mon Sep 17 00:00:00 2001 From: Mateusz Konieczny Date: Tue, 8 Nov 2022 11:42:07 +0100 Subject: [PATCH] Remake designation/protection menu. --- .../building/data-containers/planning.tsx | 212 +++++++++++------- app/src/frontend/config/data-fields-config.ts | 2 +- 2 files changed, 136 insertions(+), 78 deletions(-) diff --git a/app/src/frontend/building/data-containers/planning.tsx b/app/src/frontend/building/data-containers/planning.tsx index 0cf61360..32e07cc1 100644 --- a/app/src/frontend/building/data-containers/planning.tsx +++ b/app/src/frontend/building/data-containers/planning.tsx @@ -88,53 +88,8 @@ const PlanningView: React.FunctionComponent = (props) => ( /> */} - - - - - - - - - + + = (props) => ( user_verified_as={props.user_verified.planning_heritage_at_risk_url} verified_count={props.building.verified.planning_heritage_at_risk_url} /> - - = (props) => ( user_verified_as={props.user_verified.planning_world_list_id} verified_count={props.building.verified.planning_world_list_id} /> - - = (props) => ( user_verified_as={props.user_verified.planning_local_list_url} verified_count={props.building.verified.planning_local_list_url} /> + + + + + + = (props) => ( user_verified_as={props.user_verified.planning_historic_area_assessment_url} verified_count={props.building.verified.planning_historic_area_assessment_url} /> - + + + + + + + + + + + + + {/* + + + */} diff --git a/app/src/frontend/config/data-fields-config.ts b/app/src/frontend/config/data-fields-config.ts index c29267bf..15c8bdad 100644 --- a/app/src/frontend/config/data-fields-config.ts +++ b/app/src/frontend/config/data-fields-config.ts @@ -508,7 +508,7 @@ export const dataFields = { /* eslint-disable @typescript-eslint/camelcase */ }, planning_historic_area_assessment_url: { category: Category.Planning, - title: "Does it have an Historic Area Assessment?", + title: "Does it have any other type of Historic Area Assessment?", example: "", //tooltip: , },