parent
aa04cda117
commit
69087a1f32
@ -188,24 +188,6 @@ const PlanningView: React.FunctionComponent<CategoryViewProps> = (props) => (
|
||||
/>
|
||||
</DataEntryGroup>
|
||||
<DataEntryGroup name="Other types of protection & recording" collapsed={false} >
|
||||
<DataEntry
|
||||
title={dataFields.planning_local_list_url.title}
|
||||
slug="planning_local_list_url"
|
||||
value={props.building.planning_local_list_url}
|
||||
mode={props.mode}
|
||||
copy={props.copy}
|
||||
onChange={props.onChange}
|
||||
isUrl={true}
|
||||
placeholder="https://..."
|
||||
/>
|
||||
<Verification
|
||||
slug="planning_local_list_url"
|
||||
allow_verify={props.user !== undefined && props.building.planning_local_list_url !== null && !props.edited}
|
||||
onVerify={props.onVerify}
|
||||
user_verified={props.user_verified.hasOwnProperty("planning_local_list_url")}
|
||||
user_verified_as={props.user_verified.planning_local_list_url}
|
||||
verified_count={props.building.verified.planning_local_list_url}
|
||||
/>
|
||||
<NumericDataEntryWithFormattedLink
|
||||
title={dataFields.planning_world_list_id.title}
|
||||
slug="planning_world_list_id"
|
||||
@ -225,26 +207,6 @@ const PlanningView: React.FunctionComponent<CategoryViewProps> = (props) => (
|
||||
user_verified_as={props.user_verified.planning_world_list_id}
|
||||
verified_count={props.building.verified.planning_world_list_id}
|
||||
/>
|
||||
|
||||
<DataEntry
|
||||
title={dataFields.planning_glher_url.title}
|
||||
slug="planning_glher_url"
|
||||
value={props.building.planning_glher_url}
|
||||
mode={props.mode}
|
||||
copy={props.copy}
|
||||
onChange={props.onChange}
|
||||
isUrl={true}
|
||||
placeholder="https://..."
|
||||
/>
|
||||
<Verification
|
||||
slug="planning_glher_url"
|
||||
allow_verify={props.user !== undefined && props.building.planning_glher_url !== null && !props.edited}
|
||||
onVerify={props.onVerify}
|
||||
user_verified={props.user_verified.hasOwnProperty("planning_glher_url")}
|
||||
user_verified_as={props.user_verified.planning_glher_url}
|
||||
verified_count={props.building.verified.planning_glher_url}
|
||||
/>
|
||||
|
||||
<DataEntry
|
||||
title={dataFields.planning_in_apa_url.title}
|
||||
slug="planning_in_apa_url"
|
||||
@ -263,6 +225,42 @@ const PlanningView: React.FunctionComponent<CategoryViewProps> = (props) => (
|
||||
user_verified_as={props.user_verified.planning_in_apa_url}
|
||||
verified_count={props.building.verified.planning_in_apa_url}
|
||||
/>
|
||||
<DataEntry
|
||||
title={dataFields.planning_local_list_url.title}
|
||||
slug="planning_local_list_url"
|
||||
value={props.building.planning_local_list_url}
|
||||
mode={props.mode}
|
||||
copy={props.copy}
|
||||
onChange={props.onChange}
|
||||
isUrl={true}
|
||||
placeholder="https://..."
|
||||
/>
|
||||
<Verification
|
||||
slug="planning_local_list_url"
|
||||
allow_verify={props.user !== undefined && props.building.planning_local_list_url !== null && !props.edited}
|
||||
onVerify={props.onVerify}
|
||||
user_verified={props.user_verified.hasOwnProperty("planning_local_list_url")}
|
||||
user_verified_as={props.user_verified.planning_local_list_url}
|
||||
verified_count={props.building.verified.planning_local_list_url}
|
||||
/>
|
||||
<DataEntry
|
||||
title={dataFields.planning_glher_url.title}
|
||||
slug="planning_glher_url"
|
||||
value={props.building.planning_glher_url}
|
||||
mode={props.mode}
|
||||
copy={props.copy}
|
||||
onChange={props.onChange}
|
||||
isUrl={true}
|
||||
placeholder="https://..."
|
||||
/>
|
||||
<Verification
|
||||
slug="planning_glher_url"
|
||||
allow_verify={props.user !== undefined && props.building.planning_glher_url !== null && !props.edited}
|
||||
onVerify={props.onVerify}
|
||||
user_verified={props.user_verified.hasOwnProperty("planning_glher_url")}
|
||||
user_verified_as={props.user_verified.planning_glher_url}
|
||||
verified_count={props.building.verified.planning_glher_url}
|
||||
/>
|
||||
<DataEntry
|
||||
title={dataFields.planning_historic_area_assessment_url.title}
|
||||
slug="planning_historic_area_assessment_url"
|
||||
|
@ -177,10 +177,10 @@ export const categoryMapsConfig: {[key in Category]: CategoryMapDefinition[]} =
|
||||
{ color: '#c72e08', text: 'Grade I Listed'},
|
||||
{ color: '#e75b42', text: 'Grade II* Listed'},
|
||||
{ color: '#ffbea1', text: 'Grade II Listed'},
|
||||
{ color: '#858ed4', text: 'Locally Listed'},
|
||||
{ color: '#85ffd4', text: 'Heritage at Risk'},
|
||||
{ color: '#858eff', text: 'In World Heritage Site'},
|
||||
{ color: '#8500d4', text: 'In Archaeological Priority Area'},
|
||||
{ color: '#858ed4', text: 'Locally Listed'},
|
||||
]
|
||||
},
|
||||
}],
|
||||
|
Loading…
Reference in New Issue
Block a user