Changes for page Desk allocation
Last modified by Ricardo Julio Rodríguez Fernández on 2025/05/13 08:31
From version 355.1
edited by Ricardo Julio Rodríguez Fernández
on 2024/04/28 19:23
on 2024/04/28 19:23
Change comment:
Kanban content updated
To version 363.2
edited by Ricardo Julio Rodríguez Fernández
on 2024/04/28 21:28
on 2024/04/28 21:28
Change comment:
allow edit right for XWiki.CarlosSalgado
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 1 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -Desks allocation in new premises 1 +Desks allocation in the new premises
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -135,9 +135,51 @@ 135 135 } 136 136 } 137 137 } 138 + 138 138 139 139 for (let i = 0; i < headerElements.length; i++) { 140 140 const element = headerElements[i]; 142 + if (element.innerHTML.includes('Master')) { 143 + for (let j = 0; j < element.classList.length; j++) { 144 + if (/kanban-header-\w+/.test(element.classList[j])) { 145 + element.classList.remove(element.classList[j]); 146 + element.style.backgroundColor = '#7fbbda'; 147 + break; 148 + } 149 + } 150 + } 151 + } 152 + 153 + 154 + for (let i = 0; i < headerElements.length; i++) { 155 + const element = headerElements[i]; 156 + if (element.innerHTML.includes('Summer')) { 157 + for (let j = 0; j < element.classList.length; j++) { 158 + if (/kanban-header-\w+/.test(element.classList[j])) { 159 + element.classList.remove(element.classList[j]); 160 + element.style.backgroundColor = '#7fbbda'; 161 + break; 162 + } 163 + } 164 + } 165 + } 166 + 167 + 168 + for (let i = 0; i < headerElements.length; i++) { 169 + const element = headerElements[i]; 170 + if (element.innerHTML.includes('Neutron')) { 171 + for (let j = 0; j < element.classList.length; j++) { 172 + if (/kanban-header-\w+/.test(element.classList[j])) { 173 + element.classList.remove(element.classList[j]); 174 + element.style.backgroundColor = '#7fbbda'; 175 + break; 176 + } 177 + } 178 + } 179 + } 180 + 181 + for (let i = 0; i < headerElements.length; i++) { 182 + const element = headerElements[i]; 141 141 if (element.innerHTML.includes('Emeritus')) { 142 142 for (let j = 0; j < element.classList.length; j++) { 143 143 if (/kanban-header-\w+/.test(element.classList[j])) { ... ... @@ -148,9 +148,37 @@ 148 148 } 149 149 } 150 150 } 193 + 151 151 152 152 for (let i = 0; i < headerElements.length; i++) { 153 153 const element = headerElements[i]; 197 + if (element.innerHTML.includes('Postdocs')) { 198 + for (let j = 0; j < element.classList.length; j++) { 199 + if (/kanban-header-\w+/.test(element.classList[j])) { 200 + element.classList.remove(element.classList[j]); 201 + element.style.backgroundColor = '#7fbbda'; 202 + break; 203 + } 204 + } 205 + } 206 + } 207 + 208 + 209 + for (let i = 0; i < headerElements.length; i++) { 210 + const element = headerElements[i]; 211 + if (element.innerHTML.includes('Students')) { 212 + for (let j = 0; j < element.classList.length; j++) { 213 + if (/kanban-header-\w+/.test(element.classList[j])) { 214 + element.classList.remove(element.classList[j]); 215 + element.style.backgroundColor = '#7fbbda'; 216 + break; 217 + } 218 + } 219 + } 220 + } 221 + 222 + for (let i = 0; i < headerElements.length; i++) { 223 + const element = headerElements[i]; 154 154 if (element.innerHTML.includes('o12')) { 155 155 for (let j = 0; j < element.classList.length; j++) { 156 156 if (/kanban-header-\w+/.test(element.classList[j])) { ... ... @@ -186,4 +186,17 @@ 186 186 } 187 187 } 188 188 } 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 + } 189 189 };
- XWiki.XWikiRights[1]
-
- Allow/Deny
-
... ... @@ -1,0 +1,1 @@ 1 +Allow - Levels
-
... ... @@ -1,0 +1,1 @@ 1 +edit - Users
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.CarlosSalgado