tweak disclaimer and source info presentation

This commit is contained in:
Mateusz Konieczny 2022-09-15 13:29:20 +02:00
parent 5e8766d0b8
commit 5eb2c54f06

View File

@ -43,6 +43,7 @@ const PlanningDataOfficialDataEntry: React.FC<PlanningDataOfficialDataEntryProps
return (<Fragment>
<InfoBox type='success'>
<i>No live planning data available currently for this building polygon via the Planning London DataHub.</i>
<br/>
<Disclaimer />
</InfoBox>
</Fragment>);
@ -51,7 +52,7 @@ const PlanningDataOfficialDataEntry: React.FC<PlanningDataOfficialDataEntryProps
<Fragment>
<InfoBox type='success'>
<Fragment>
<div><i>Planning application status is streamed using live data uploaded by local authorities to the <a href={data[0]["data_source_link"]}>{data[0]["data_source"]}</a></i></div>
<div><i>Planning application status is streamed using live data uploaded by local authorities to the <a href={data[0]["data_source_link"]}>{data[0]["data_source"]}</a>.</i></div>
<br/>
<div><b>Current planning application status for this site:</b> {data[0]["status"]}</div>
<div><b>Planning application ID:</b> {data[0]["planning_application_id"]}</div>
@ -59,6 +60,7 @@ const PlanningDataOfficialDataEntry: React.FC<PlanningDataOfficialDataEntryProps
<div><b>Decision date</b>: {data[0]["decision_date"].toString()}</div>
<div><b>Description of proposed work</b>: <LongText content = {data[0]["description"]} limit = {400}/></div>
<div><b>Most recent update by data provider:</b> {data[0]["decision_date"]}</div>
<br/>
<Disclaimer />
<div className="form-check">
<label