From 58023f464c7ce27d2a18930e7f05bee1a29b7a7e Mon Sep 17 00:00:00 2001 From: James Date: Thu, 12 Mar 2026 05:03:15 -0400 Subject: [PATCH] =?UTF-8?q?redesign:=20request=20detail=20=E2=80=94=20sing?= =?UTF-8?q?le=20column,=20request=E2=86=92response=E2=86=92discussion,=20p?= =?UTF-8?q?roject=20name=20in=20breadcrumb?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/dealspace.db-shm | Bin 32768 -> 32768 bytes portal/templates/app/request.html | 147 +++++++++++++----------------- 2 files changed, 65 insertions(+), 82 deletions(-) diff --git a/data/dealspace.db-shm b/data/dealspace.db-shm index 4e5aaed33792843b8bbee68a8ba6a4da77e4e5be..0d37bbe03d94b4d712ccede743ccdd984f5096e4 100644 GIT binary patch delta 55 ucmZo@U}|V!;*@x#%K!!wIpqb7*FFDJ+G{3@EXWELoEWRjsI;-Mz8(OiuMnC5 delta 55 vcmZo@U}|V!;*@x#%K!pQ6FKDteb+tzGr!kN7Fm!LEI2V%nNeY5V|_gUu+I@B diff --git a/portal/templates/app/request.html b/portal/templates/app/request.html index fa73db1..b1cb1b3 100644 --- a/portal/templates/app/request.html +++ b/portal/templates/app/request.html @@ -1,96 +1,72 @@ {{define "header-left"}}
- Dealspace + Dealspace / - Projects + Projects / - Project - / - Request +
{{end}} {{define "content"}} -
+
- -
- - -
- -
-

Loading...

- - + +
+
+
+ + + +
-

- - -
- - - -
-
- - -
- - -
-
-
📎
-

Drop files to submit response

-

PDF, DOCX, XLSX, images

- -
-
-
+

Loading...

+

+ + +
+ + +
+
+ Response + +
+
+
+

Drop files or click to upload response

+

PDF, DOCX, XLSX, images

+ +
+
+
@@ -179,7 +155,14 @@ // Apply role-based UI restrictions applyRoleRestrictions(); - if (req.project_id) document.getElementById('backToProject').href = '/app/projects/' + req.project_id; + if (req.project_id) { + document.getElementById('backToProject').href = '/app/projects/' + req.project_id; + // Fetch project name for breadcrumb + fetchAPI('/api/projects/' + req.project_id).then(r=>r.json()).then(p=>{ + const pname = (p.data_text ? (()=>{try{return JSON.parse(p.data_text)}catch{return{}}})() : {}).name || 'Project'; + document.getElementById('backToProject').textContent = pname; + }).catch(()=>{}); + } const badge = document.getElementById('reqItemBadge'); const badgeParts = [d.section, d.item_number].filter(Boolean);