diff --git a/data/dealspace.db-shm b/data/dealspace.db-shm index 4e5aaed..0d37bbe 100644 Binary files a/data/dealspace.db-shm and b/data/dealspace.db-shm differ 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);