Changes for page Desk allocation
Last modified by Ricardo Julio Rodríguez Fernández on 2025/05/13 08:31
From version 360.1
edited by Ricardo Julio Rodríguez Fernández
on 2024/04/28 19:40
on 2024/04/28 19:40
Change comment:
There is no comment for this version
To version 363.1
edited by Ricardo Julio Rodríguez Fernández
on 2024/04/28 21:18
on 2024/04/28 21:18
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -Desks allocation consideringnew premises1 +Desks allocation in the new premises
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -256,4 +256,17 @@ 256 256 } 257 257 } 258 258 } 259 + 260 + for (let i = 0; i < headerElements.length; i++) { 261 + const element = headerElements[i]; 262 + if (element.innerHTML.includes('space')) { 263 + for (let j = 0; j < element.classList.length; j++) { 264 + if (/kanban-header-\w+/.test(element.classList[j])) { 265 + element.classList.remove(element.classList[j]); 266 + element.style.backgroundColor = '#d2d9dd'; 267 + break; 268 + } 269 + } 270 + } 271 + } 259 259 };