Modifications pour le document KanbanBoardMacro
Modifié par Admin le 21/07/2025 - 09:07
Résumé
-
Propriétés de la Page (1 modifications, 0 ajouts, 0 suppressions)
-
Objets (1 modifications, 0 ajouts, 2 suppressions)
Détails
- Propriétés de la Page
-
- Contenu
-
... ... @@ -5,9 +5,6 @@ 5 5 * ##user## [optional, default=$xcontext.userReference] define the user for who tasks are assigned 6 6 * ##space## [optional, default=TaskManager] define the space to look for tasks 7 7 * ##project## [optional, default=] define the project to look for tasks 8 -* ##colors## [optional, default=green,blue,orange] define the colors of the Kanban columns 9 -* ##columns## [optional, default=ToDo,InProgress,Done] define the statuses to display as Kanban columns 10 -* ##columnWidth## [optional, default=32%] define the width of all Kanban column 11 11 12 12 Example: 13 13
- XWiki.WikiMacroClass[1]
-
- Code de la macro
-
... ... @@ -3,8 +3,6 @@ 3 3 ## The xwql variable is used by the awmkanban macro called from this one. 4 4 #set ($xwql = '') 5 5 #set($user = "$!{xcontext.macro.params.user}") 6 -#set ($columnWidth = "$!{xcontext.macro.params.columnWidth}") 7 -#set ($colors = "$!{xcontext.macro.params.colors}") 8 8 #if($user != '') 9 9 #set($xwql = "obj.assignee = '$escapetool.sql($user)'") 10 10 #end ... ... @@ -22,15 +22,6 @@ 22 22 #end 23 23 #set($xwql = "$xwql obj.project = '$escapetool.sql($project)'") 24 24 #end 25 -#set ($columns = "$!{xcontext.macro.params.columns}") 26 -{{awmkanban 27 - className="TaskManager.TaskManagerClass" 28 - category="status" 29 - displayedCategoryColumns="$!escapetool.xml($columns)" 30 - title="name" 31 - columns="assignee,progress,duedate" 32 - width="$!escapetool.xml($columnWidth)" 33 - colors=$escapetool.xml($colors) 34 -/}} 35 35 {{/velocity}} 36 36 25 +{{awmkanban className="TaskManager.TaskManagerClass" category="status" title="name" columns="assignee,progress,duedate" width="32%"/}} - Default categories
-
... ... @@ -1,1 +1,0 @@ 1 -Content
- XWiki.WikiMacroParameterClass[6]
-
- Valeur par défaut du paramètre
-
... ... @@ -1,1 +1,0 @@ 1 -green,blue,orange - Paramètre obligatoire
-
... ... @@ -1,1 +1,0 @@ 1 -Non - Nom du paramètre
-
... ... @@ -1,1 +1,0 @@ 1 -colors
- XWiki.WikiMacroParameterClass[7]
-
- Valeur par défaut du paramètre
-
... ... @@ -1,1 +1,0 @@ 1 -32% - Description du paramètre
-
... ... @@ -1,1 +1,0 @@ 1 -The width of each Kanban column, specified in any css units (example: 32%, 500px, 30em, etc..). - Paramètre obligatoire
-
... ... @@ -1,1 +1,0 @@ 1 -Non - Nom du paramètre
-
... ... @@ -1,1 +1,0 @@ 1 -columnWidth