Changes for page Desk allocation

Last modified by Ricardo Julio Rodríguez Fernández on 2025/06/02 10:02

From version 736.1
edited by Ricardo Julio Rodríguez Fernández
on 2024/05/02 12:05
Change comment: There is no comment for this version
To version 736.2
edited by Ricardo Julio Rodríguez Fernández
on 2024/05/02 12:20
Change comment: There is no comment for this version

Summary

Details

XWiki.JavaScriptExtension[0]
Code
... ... @@ -18,12 +18,12 @@
18 18   titleElement.style.padding = "2px 4px";
19 19   titleElement.style.borderRadius = "4px";
20 20  
21 - if (titleElement.textContent.includes('LHCB')) {
21 + if (titleElement.textContent.includes('- J')) {
22 22   titleElement.style.color = 'white';
23 - titleElement.style.backgroundColor = 'red';
23 + titleElement.style.backgroundColor = '#4A8E0D';
24 24   const parentElement = titleElement.closest('.kanban-item');
25 25   if (parentElement) {
26 - parentElement.style.backgroundColor = 'yellow';
26 + parentElement.style.backgroundColor = '#4A8E0D';
27 27   }
28 28   }
29 29   if (titleElement.textContent.includes('- S')) {