Changes for page Desk allocation

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

From version 735.1
edited by Ricardo Julio Rodríguez Fernández
on 2024/05/02 12:03
Change comment: Kanban content updated
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,20 +18,20 @@
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 - if (titleElement.textContent.includes('STRI')) {
29 + if (titleElement.textContent.includes('- S')) {
30 30   titleElement.style.color = 'white';
31 31   titleElement.style.backgroundColor = 'navy';
32 32   const parentElement = titleElement.closest('.kanban-item');
33 33   if (parentElement) {
34 - parentElement.style.backgroundColor = '#FFDB58';
34 + parentElement.style.backgroundColor = 'navy';
35 35   }
36 36   }
37 37   if (titleElement.textContent.includes('AUGE')) {