take title out of the infobox
This commit is contained in:
parent
20083a4b63
commit
68f56214c6
@ -42,11 +42,11 @@ const PlanningDataOfficialDataEntry: React.FC<PlanningDataOfficialDataEntryProps
|
|||||||
const data = props.value || [];
|
const data = props.value || [];
|
||||||
if(data.length == 0) {
|
if(data.length == 0) {
|
||||||
return (<Fragment>
|
return (<Fragment>
|
||||||
<InfoBox type='success'>
|
|
||||||
<DataTitle
|
<DataTitle
|
||||||
title={"Planning Application Status"}
|
title={"Planning Application Status"}
|
||||||
tooltip={null}
|
tooltip={null}
|
||||||
/>
|
/>
|
||||||
|
<InfoBox type='success'>
|
||||||
<i>No live planning data available currently for this building polygon via the Planning London DataHub.</i>
|
<i>No live planning data available currently for this building polygon via the Planning London DataHub.</i>
|
||||||
<Disclaimer />
|
<Disclaimer />
|
||||||
</InfoBox>
|
</InfoBox>
|
||||||
@ -55,11 +55,11 @@ const PlanningDataOfficialDataEntry: React.FC<PlanningDataOfficialDataEntryProps
|
|||||||
return (
|
return (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<InfoBox type='success'>
|
<InfoBox type='success'>
|
||||||
<Fragment>
|
|
||||||
<DataTitle
|
<DataTitle
|
||||||
title={"Planning Application Status"}
|
title={"Planning Application Status"}
|
||||||
tooltip={null}
|
tooltip={null}
|
||||||
/>
|
/>
|
||||||
|
<Fragment>
|
||||||
<b>Current planning application status for this site:</b> {data[0]["status"]}
|
<b>Current planning application status for this site:</b> {data[0]["status"]}
|
||||||
<br/>
|
<br/>
|
||||||
<b>Decision date</b>: {data[0]["decision_date"].toString()}
|
<b>Decision date</b>: {data[0]["decision_date"].toString()}
|
||||||
|
Loading…
Reference in New Issue
Block a user