diff --git a/app/src/frontend/building/data-containers/age.tsx b/app/src/frontend/building/data-containers/age.tsx index 7952327d..0cfe9d0c 100644 --- a/app/src/frontend/building/data-containers/age.tsx +++ b/app/src/frontend/building/data-containers/age.tsx @@ -47,7 +47,7 @@ const AgeView: React.FunctionComponent = (props) => { ){ return ( - + = (props) => { const worthKeepingReasonsNonEmpty = Object.values(props.building.community_type_worth_keeping_reasons ?? {}).some(x => x); return <> + + Note: We are not currently collecting data on domestic/privately owned properties, only on public buildings. +
- - Here we are collecting data on how well you think specific types of building work (rather than individual buildings), to help ensure we save and reuse all useful buildings and to help improve urban design quality in future. - { - /* - {(props.building.is_domestic === "no" || props.building.is_domestic === "mixed domestic/non-domestic") ? + + (props.building.is_domestic === "no" || props.building.is_domestic === "mixed domestic/non-domestic") ? <> = (props) => { mode={props.mode} copy={props.copy} /> - : <>} - */ - } + + = (props) => { return ( - - + - - - + - + + + + + + ); }; diff --git a/app/src/frontend/building/data-containers/location.tsx b/app/src/frontend/building/data-containers/location.tsx index 3d4d8cfe..b0b5e555 100644 --- a/app/src/frontend/building/data-containers/location.tsx +++ b/app/src/frontend/building/data-containers/location.tsx @@ -10,6 +10,7 @@ import withCopyEdit from '../data-container'; import { PatternDataEntry } from '../data-components/pattern-data-entry'; import { CategoryViewProps } from './category-view-props'; +import { DataEntryGroup } from '../data-components/data-entry-group'; const locationNumberPattern = "[1-9]\\d*[a-z]?(-([1-9]\\d*))?"; ///[1-9]\d*[a-z]?(-([1-9]\d*))?/; @@ -25,7 +26,7 @@ const LocationView: React.FunctionComponent = (props) => ( tooltip={dataFields.location_name.tooltip} placeholder="https://..." isUrl={true} - /> + /> = (props) => ( user_verified={props.user_verified.hasOwnProperty("location_name")} user_verified_as={props.user_verified.location_name} verified_count={props.building.verified.location_name} - /> - - - - + /> - - - - - - - x.toUpperCase()} - - /> - - - - - - - - - + + + + + + + + + + x.toUpperCase()} + + /> + + + + + + + + + + + + + ); const LocationContainer = withCopyEdit(LocationView); diff --git a/app/src/frontend/building/data-containers/resilience.tsx b/app/src/frontend/building/data-containers/resilience.tsx index 828455b3..8c1cf54b 100644 --- a/app/src/frontend/building/data-containers/resilience.tsx +++ b/app/src/frontend/building/data-containers/resilience.tsx @@ -25,8 +25,8 @@ const ResilienceView: React.FunctionComponent = (props) => { return (<> - This feature is designed as an assessment tool to help communities capture data on the state of buildings following major disasters. - It is intended to help support emergency services, to record damage, and to aid reconstruction programmes. + This feature is designed as an assessment tool to help communities capture data on the state of buildings following major disasters. + It is intended to help support emergency services, to record damage, and to aid reconstruction programmes. - - - - { - props.mode != 'view' && - - } - - - - {(props.building.current_landuse_source == "Expert/personal knowledge of building" || - props.building.current_landuse_source == "Online streetview image" || - props.building.current_landuse_source == null) ? <> : - <> - - - } + + + + + + Note: Work from home does not count as office and does not make building non-domestic. + + + + + + + + {(props.building.current_landuse_source == "Expert/personal knowledge of building" || + props.building.current_landuse_source == "Online streetview image" || + props.building.current_landuse_source == null) ? <> : + <> + + } + { + props.mode != 'view' && + + } + + ); };