disable crowdsourcing
This commit is contained in:
parent
9133ca787c
commit
e5ca4f19f2
@ -85,28 +85,29 @@ const PlanningView: React.FunctionComponent<CategoryViewProps> = (props) => {
|
|||||||
mode={props.mode}
|
mode={props.mode}
|
||||||
copy={props.copy}
|
copy={props.copy}
|
||||||
onChange={props.onChange}
|
onChange={props.onChange}
|
||||||
|
disabled={true}
|
||||||
/>
|
/>
|
||||||
<Verification
|
<Verification
|
||||||
slug="planning_crowdsourced_planning_id"
|
slug="planning_crowdsourced_planning_id"
|
||||||
allow_verify={props.user !== undefined && props.building.planning_crowdsourced_planning_id !== null && !props.edited}
|
allow_verify={false && props.user !== undefined && props.building.planning_crowdsourced_planning_id !== null && !props.edited}
|
||||||
onVerify={props.onVerify}
|
onVerify={props.onVerify}
|
||||||
user_verified={props.user_verified.hasOwnProperty("planning_crowdsourced_planning_id")}
|
user_verified={props.user_verified.hasOwnProperty("planning_crowdsourced_planning_id")}
|
||||||
user_verified_as={props.user_verified.planning_crowdsourced_planning_id}
|
user_verified_as={props.user_verified.planning_crowdsourced_planning_id}
|
||||||
verified_count={props.building.verified.planning_crowdsourced_planning_id}
|
verified_count={props.building.verified.planning_crowdsourced_planning_id}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<UserOpinionEntry
|
<LogicalDataEntry
|
||||||
slug='community_expected_planning_application'
|
slug='community_expected_planning_application_is_inaccurate'
|
||||||
title={"If any of the active planning applications are not mapped onto the correct site, please tick here ☑"}
|
title={"If any of the active planning applications are not mapped onto the correct site, please tick here"}
|
||||||
|
value={null}
|
||||||
userValue={props.building.community_expected_planning_application}
|
|
||||||
|
|
||||||
onChange={props.onSaveChange}
|
onChange={props.onSaveChange}
|
||||||
mode={props.mode}
|
mode={props.mode}
|
||||||
copy={props.copy}
|
copy={props.copy}
|
||||||
|
disabled={true}
|
||||||
/>
|
/>
|
||||||
{ /* TODO: have just checkbox, without "Yes" */ }
|
{/* userValue={props.building.community_expected_planning_application_is_inaccurate} */ }
|
||||||
{/*disabled={true}*/}
|
{ /* TODO: UserOpinionEntry - but have just checkbox, without "Yes" */ }
|
||||||
|
|
||||||
</DataEntryGroup>
|
</DataEntryGroup>
|
||||||
<DataEntryGroup name="Past applications (official data)" collapsed={true} >
|
<DataEntryGroup name="Past applications (official data)" collapsed={true} >
|
||||||
@ -128,7 +129,6 @@ const PlanningView: React.FunctionComponent<CategoryViewProps> = (props) => {
|
|||||||
<UserOpinionEntry
|
<UserOpinionEntry
|
||||||
slug='community_expected_planning_application'
|
slug='community_expected_planning_application'
|
||||||
title={buildingUserFields.community_expected_planning_application.title}
|
title={buildingUserFields.community_expected_planning_application.title}
|
||||||
|
|
||||||
userValue={props.building.community_expected_planning_application}
|
userValue={props.building.community_expected_planning_application}
|
||||||
|
|
||||||
onChange={props.onSaveChange}
|
onChange={props.onSaveChange}
|
||||||
|
Loading…
Reference in New Issue
Block a user