diff --git a/app/src/frontend/building/data-components/planning-data-entry.tsx b/app/src/frontend/building/data-components/planning-data-entry.tsx index f8d81f98..cb3d0e8e 100644 --- a/app/src/frontend/building/data-components/planning-data-entry.tsx +++ b/app/src/frontend/building/data-components/planning-data-entry.tsx @@ -23,13 +23,15 @@ const LongText = ({ content,limit}) => { if (showAll) { return
{content} - shorten description +
+ Shorten description
} const toShow = content.substring(0, limit).trim() + "... "; return
{toShow} - show full description +
+ Show full description
} @@ -43,8 +45,8 @@ const PlanningDataOfficialDataEntry: React.FC + No live planning data available currently for this building polygon via the Planning London DataHub.
Disclaimer: data is imported from the official source, but Planning London DataHub is known to be incomplete.
- No live planning data available currently for this building polygon via the Planning London DataHub. ); } @@ -56,22 +58,21 @@ const PlanningDataOfficialDataEntry: React.FC -
Disclaimer: data is imported from the official source, but Planning London DataHub is known to be incomplete.
- Data source: {data[0]["data_source"]} -
- Planning application ID: {data[0]["planning_application_id"]} -
- Most recent update by data provider: {data[0]["last_synced_date"]} -
- Planning application ID: {data[0]["planning_application_id"]} -
Current planning application status for this site: {data[0]["status"]}
Decision date: {data[0]["decision_date"].toString()}
- Brief Description of proposed work: - + Description of proposed work:
+ Planning application ID: {data[0]["planning_application_id"]} +
+ Planning portal link: not provided +
+ Most recent update by data provider: {data[0]["decision_date"]} +
+ Data source: {data[0]["data_source"]} +
+
Disclaimer: data is imported from the official source, but Planning London DataHub is known to be incomplete.