Change domestic to residential
In interface but not in dropdowns/database yet
This commit is contained in:
parent
cfb441a273
commit
cc07121e08
@ -39,7 +39,7 @@ const UseView: React.FunctionComponent<CategoryViewProps> = (props) => {
|
||||
</i>
|
||||
</div>
|
||||
<button className={`map-switcher-inline ${props.mapColourScale == "is_domestic" ? "enabled-state" : "disabled-state"} btn btn-outline btn-outline-dark ${darkLightTheme}`} onClick={switchToIsDomesticMapStyle}>
|
||||
{(props.mapColourScale == "is_domestic")? 'Showing domestic, non-domestic and mixed-use buildings (click to hide)' : 'Click to see domestic, non-domestic and mixed-use buildings on the map.'}
|
||||
{(props.mapColourScale == "is_domestic")? 'Showing residential, non-residential and mixed-use buildings (click to hide)' : 'Click to see residential, non-residential and mixed-use buildings on the map.'}
|
||||
</button>
|
||||
<SelectDataEntry
|
||||
title={dataFields.is_domestic.title}
|
||||
|
@ -338,11 +338,11 @@ export const categoryMapsConfig: {[key in Category]: CategoryMapDefinition[]} =
|
||||
{
|
||||
mapStyle: 'is_domestic',
|
||||
legend: {
|
||||
title: 'Domestic building',
|
||||
title: 'Residential building',
|
||||
elements: [
|
||||
{ color: '#f7ec25', text: 'Domestic' },
|
||||
{ color: '#f7ec25', text: 'Residential' },
|
||||
{ color: '#fc9b2a', text: 'Mixed' },
|
||||
{ color: '#ff2121', text: 'Non-domestic' },
|
||||
{ color: '#ff2121', text: 'Non-residential' },
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -144,7 +144,7 @@ export const buildingUserFields = {
|
||||
export const dataFields = { /* eslint-disable @typescript-eslint/camelcase */
|
||||
location_name: {
|
||||
category: Category.Location,
|
||||
title: "Building name (non-domestic)",
|
||||
title: "Building name (non-residential)",
|
||||
tooltip: "The name of the building.<br/><br/>(For security reasons, we currently only collect the names of non-residential buildings).",
|
||||
example: "Broadcasting House",
|
||||
},
|
||||
@ -776,8 +776,8 @@ export const dataFields = { /* eslint-disable @typescript-eslint/camelcase */
|
||||
},
|
||||
is_domestic: {
|
||||
category: Category.Team,
|
||||
title: "Is the building a home/domestic building?",
|
||||
tooltip: "Note: Homes used as offices for working from home should be classified as domestic.",
|
||||
title: "Is the building a home/residential building?",
|
||||
tooltip: "Note: Homes used as offices for working from home should be classified as residential.",
|
||||
example: "mixed domestic/non-domestic",
|
||||
items: [
|
||||
"Yes",
|
||||
@ -788,14 +788,14 @@ export const dataFields = { /* eslint-disable @typescript-eslint/camelcase */
|
||||
is_domestic_source: {
|
||||
category: Category.Team,
|
||||
title: "Source type",
|
||||
tooltip: "Source of domestic/non-domestic data",
|
||||
tooltip: "Source of residential/non-residential data",
|
||||
example: "",
|
||||
items: commonSourceTypes
|
||||
},
|
||||
is_domestic_links: {
|
||||
category: Category.Team,
|
||||
title: "Source links",
|
||||
tooltip: "URL(s) for domestic/non-domestic data source(s)",
|
||||
tooltip: "URL(s) for residential/non-residential data source(s)",
|
||||
example: ["", "", ""],
|
||||
},
|
||||
likes_total: {
|
||||
|
Loading…
Reference in New Issue
Block a user