Modifications pour le document AWMKanbanMacro
Modifié par Admin le 21/07/2025 - 08:59
Résumé
-
Objets (1 modifications, 0 ajouts, 1 suppressions)
Détails
- XWiki.WikiMacroClass[1]
-
- Code de la macro
-
... ... @@ -27,16 +27,9 @@ 27 27 ## We don't override the xwql variable in case it was defined externally by another macro calling this one (e.g. TaskManager.KanbanBoardMacro). 28 28 #set($xwql = "") 29 29 #end 30 -#if ($xcontext.macro.params.colors) 31 - #set($colors = $xcontext.macro.params.colors) 32 -#else 33 - ## We set as default the original colors: green,blue,orange,yellow,red 34 - #set($colors = "#8C4,#0AC,#F91,#FC3,#E43") 35 -#end 36 - 37 37 #set($width = "$xcontext.macro.params.width") 38 -#set($source = $xwiki.getDocument("Macros.KanbanAWMSource").getURL("get", "xpage=plain&outputSyntax=plain&className=${escapetool.url($className)}&category=${escapetool.url($category)}&title=${escapetool.url($title)}&columns=${escapetool.url($columns)}&xwql=${escapetool.url($xwql)} &colors=${escapetool.url($colors)}"))39 -#set($awmupdatepath = "/objects/${className}/0/properties/${category}/") 31 +#set($source = $xwiki.getDocument("Macros.KanbanAWMSource").getURL("get", "xpage=plain&outputSyntax=plain&className=${escapetool.url($className)}&category=${escapetool.url($category)}&title=${escapetool.url($title)}&columns=${escapetool.url($columns)}&xwql=${escapetool.url($xwql)}")) 32 +#set($awmupdatepath = "/objects/${className}/0/properties/${category}/") 40 40 {{kanban source="${source}" updateService="" addBoardButton="false" addItemButton="false" removeBoardButton="false" removeItemButton="false" awmupdatepath="${awmupdatepath}" width="${width}" /}} 41 41 {{/velocity}} 42 42
- XWiki.WikiMacroParameterClass[11]
-
- Description du paramètre
-
... ... @@ -1,1 +1,0 @@ 1 -List of colors separated by commas, each color corresponds to a column. - Nom du paramètre
-
... ... @@ -1,1 +1,0 @@ 1 -colors