add missing thes, fixes #1045

This commit is contained in:
Mateusz Konieczny 2023-01-13 08:27:49 +01:00
parent 8c9dab3596
commit be23cf2fb6
5 changed files with 7 additions and 7 deletions

View File

@ -140,7 +140,7 @@ const PlanningView: React.FunctionComponent<CategoryViewProps> = (props) => {
slug="planning_live_application" slug="planning_live_application"
value={null} value={null}
disabled={true} disabled={true}
tooltip={"GLA official description: \"All areas with more than a 1 in 1,000 annual probability of either river or sea flooding.\""} tooltip={"the GLA official description: \"All areas with more than a 1 in 1,000 annual probability of either river or sea flooding.\""}
/> />
<button className="map-switcher-inline btn btn-outline btn-outline-dark" onClick={floodSwitchOnClick}> <button className="map-switcher-inline btn btn-outline btn-outline-dark" onClick={floodSwitchOnClick}>
{(flood === 'enabled')? 'Click to hide Flood Zones' : 'Click to see Flood Zones mapped'} {(flood === 'enabled')? 'Click to hide Flood Zones' : 'Click to see Flood Zones mapped'}
@ -150,7 +150,7 @@ const PlanningView: React.FunctionComponent<CategoryViewProps> = (props) => {
slug="planning_live_application" slug="planning_live_application"
value={null} value={null}
disabled={true} disabled={true}
tooltip={"GLA official description: \"Housing zones are areas funded by the Mayor and government to attract developers and relevant partners to build new homes.\""} tooltip={"the GLA official description: \"Housing zones are areas funded by the Mayor and government to attract developers and relevant partners to build new homes.\""}
/> />
<button className="map-switcher-inline btn btn-outline btn-outline-dark" onClick={housingSwitchOnClick}> <button className="map-switcher-inline btn btn-outline btn-outline-dark" onClick={housingSwitchOnClick}>
{(housing === 'enabled')? 'Click to hide Housing Zones' : 'Click to see Housing Zones mapped'} {(housing === 'enabled')? 'Click to hide Housing Zones' : 'Click to see Housing Zones mapped'}

View File

@ -189,8 +189,8 @@ export const categoryMapsConfig: {[key in Category]: CategoryMapDefinition[]} =
{ {
mapStyle: 'planning_applications_status_recent', mapStyle: 'planning_applications_status_recent',
legend: { legend: {
title: 'Last 12 months - planning applications submissions/decisions (official data)', title: 'The last 12 months - planning applications submissions/decisions (official data)',
disclaimer: 'The map shows applications where the submission or decision data falls within last 12 months.', disclaimer: 'The map shows applications where the submission or decision data falls within the last 12 months.',
elements: [ elements: [
{ color: '#a040a0', text: 'Submitted, awaiting decision' }, { color: '#a040a0', text: 'Submitted, awaiting decision' },
{ color: '#fff200', text: 'Appeal In Progress' }, { color: '#fff200', text: 'Appeal In Progress' },

View File

@ -16,7 +16,7 @@ export function HousingBoundaryLayer() {
if(housing == "enabled") { if(housing == "enabled") {
return boundaryGeojson && return boundaryGeojson &&
<GeoJSON <GeoJSON
attribution="Housing Zones from <a href=https://data.london.gov.uk/dataset/housing_zones>London Datastore</a>. The boundaries are based on Ordnance Survey mapping and the data is published under Ordnance Survey's 'presumption to publish'. Contains OS data © Crown copyright and database rights 2019. Greater London Authority - Contains public sector information licensed under the <a href=https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/>Open Government Licence v3.0</a>'" attribution="Housing Zones from <a href=https://data.london.gov.uk/dataset/housing_zones>London Datastore</a>. The boundaries are based on Ordnance Survey mapping and the data is published under Ordnance Survey's 'presumption to publish'. Contains OS data © Crown copyright and database rights 2019. The Greater London Authority - Contains public sector information licensed under the <a href=https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/>Open Government Licence v3.0</a>'"
data={boundaryGeojson} data={boundaryGeojson}
style={{color: '#FF8000', fill: true, weight: 1, opacity: 0.6}} style={{color: '#FF8000', fill: true, weight: 1, opacity: 0.6}}
/>; />;

View File

@ -16,7 +16,7 @@ export function VistaBoundaryLayer() {
if(vista == "enabled") { if(vista == "enabled") {
return boundaryGeojson && return boundaryGeojson &&
<GeoJSON <GeoJSON
attribution=' London Views Management Framework (LVMF) Extended background vistas from <a href=https://data.london.gov.uk/dataset/london-views-management-framework-lvmf-extended-background-vistas>London Datastore</a>: <a href=https://creativecommons.org/licenses/by/4.0/legalcode>CC-BY-SA 4.0</a> by Greater London Authority (GLA)' attribution=' London Views Management Framework (LVMF) Extended background vistas from <a href=https://data.london.gov.uk/dataset/london-views-management-framework-lvmf-extended-background-vistas>London Datastore</a>: <a href=https://creativecommons.org/licenses/by/4.0/legalcode>CC-BY-SA 4.0</a> by the Greater London Authority (GLA)'
data={boundaryGeojson} data={boundaryGeojson}
style={{color: '#0f0', fill: true, weight: 1, opacity: 0.6}} style={{color: '#0f0', fill: true, weight: 1, opacity: 0.6}}
/>; />;

View File

@ -65,7 +65,7 @@ def load_data_into_database(cursor, data):
"status": status, "status": status,
"status_before_aliasing": status_before_aliasing, "status_before_aliasing": status_before_aliasing,
"status_explanation_note": status_explanation_note, "status_explanation_note": status_explanation_note,
"data_source": "Greater London Authority's Planning London DataHub", "data_source": "the Greater London Authority's Planning London DataHub",
"data_source_link": None, "data_source_link": None,
"address": address_data.planning_data_entry_to_address(entry), "address": address_data.planning_data_entry_to_address(entry),
} }