drop linking as we have no link to share
This commit is contained in:
parent
ce339ea339
commit
32076a9012
@ -66,7 +66,7 @@ const PlanningDataOfficialDataEntry: React.FC<PlanningDataOfficialDataEntryProps
|
|||||||
<Fragment>
|
<Fragment>
|
||||||
<InfoBox type='success'>
|
<InfoBox type='success'>
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<div><i>Planning application status is streamed using live data uploaded by local authorities to the <a href={item["data_source_link"]}>{item["data_source"]}</a>.</i></div>
|
<div><i>Planning application status is streamed using live data uploaded by local authorities to the {item["data_source_link"] ? <a href={item["data_source_link"]}>{item["data_source"]}</a> : item["data_source"] }.</i></div>
|
||||||
<br/>
|
<br/>
|
||||||
<div><b>Current planning application status for this site:</b> {ShowIfAvailable(item["status"])}</div>
|
<div><b>Current planning application status for this site:</b> {ShowIfAvailable(item["status"])}</div>
|
||||||
<div><b>Planning application ID:</b> {ShowIfAvailable(item["planning_application_id"])}</div>
|
<div><b>Planning application ID:</b> {ShowIfAvailable(item["planning_application_id"])}</div>
|
||||||
|
@ -62,7 +62,7 @@ def load_data_into_database(cursor, data):
|
|||||||
"uprn": uprn,
|
"uprn": uprn,
|
||||||
"status": status,
|
"status": status,
|
||||||
"data_source": "Greater London Authority's Planning London DataHub",
|
"data_source": "Greater London Authority's Planning London DataHub",
|
||||||
"data_source_link": "https://data.london.gov.uk/dataset/planning-london-datahub?_gl=1%2aprwpc%2a_ga%2aMzQyOTg0MjcxLjE2NTk0NDA4NTM", # TODO not an actual source...
|
"data_source_link": None
|
||||||
}
|
}
|
||||||
insert_entry(cursor, entry)
|
insert_entry(cursor, entry)
|
||||||
except TypeError as e:
|
except TypeError as e:
|
||||||
|
Loading…
Reference in New Issue
Block a user