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
Change comment: There is no comment for this version
To version 363.4
edited by Ricardo Julio Rodríguez Fernández
on 2024/04/28 21:29
Change comment: allow comment right for XWiki.CarlosSalgado

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Desks allocation considering new premises
1 +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  };
XWiki.XWikiRights[1]
Allow/Deny
... ... @@ -1,0 +1,1 @@
1 +Allow
Levels
... ... @@ -1,0 +1,1 @@
1 +edit,script,comment
Users
... ... @@ -1,0 +1,1 @@
1 +XWiki.CarlosSalgado