From f3d8c90ee043bb97e69f1b09fa5b17fe294d9577 Mon Sep 17 00:00:00 2001 From: royallsilwallz Date: Mon, 22 Jan 2024 17:49:23 +0545 Subject: [PATCH] Style fixes in `Live Monitoring` feature - Move Project Header to Stats sidebar - Resolves #6200 --- frontend/src/views/projectLiveMonitoring.js | 51 +++++++++++++-------- 1 file changed, 33 insertions(+), 18 deletions(-) diff --git a/frontend/src/views/projectLiveMonitoring.js b/frontend/src/views/projectLiveMonitoring.js index 1b4931eff2..2a943bf6c8 100644 --- a/frontend/src/views/projectLiveMonitoring.js +++ b/frontend/src/views/projectLiveMonitoring.js @@ -9,6 +9,7 @@ import { UnderpassFeatureStats, UnderpassValidationStats, } from '@hotosm/underpass-ui'; +import { Link } from 'react-router-dom'; import { ProjectVisibilityBox } from '../components/projectDetail/visibilityBox'; import { ProjectStatusBox } from '../components/projectDetail/statusBox'; @@ -270,25 +271,39 @@ export function ProjectLiveMonitoring() { }} > {project && ( -
-
-

- {project.projectInfo && project.projectInfo.name} -

- {project.private && ( - - )} - {['DRAFT', 'ARCHIVED'].includes(project.status) && ( - - )} + <> +
+
+ + + #{project.projectId} + + + {project.organisationName ? ( + | {project.organisationName} + ) : null} +
-
+
+
+

+ {project.projectInfo && project.projectInfo.name} +

+ {project.private && ( + + )} + {['DRAFT', 'ARCHIVED'].includes(project.status) && ( + + )} +
+
+ )}