Modifications pour le document Icon Picker Macro
Modifié par Jip-jan Alunkel le septembre 23, 13:41
Depuis la version 1.1
modifié par Jip-jan Alunkel
sur février 05, 16:43
sur février 05, 16:43
Commentaire de modification :
Install extension [org.xwiki.platform:xwiki-platform-icon-ui/15.0]
À la version 3.1
modifié par Jip-jan Alunkel
sur septembre 23, 13:41
sur septembre 23, 13:41
Commentaire de modification :
Install extension [org.xwiki.platform:xwiki-platform-icon-ui/15.7]
Résumé
-
Objets (1 modifications, 0 ajouts, 0 suppressions)
Détails
- XWiki.WikiMacroClass[0]
-
- Code de la macro
-
... ... @@ -1,10 +1,10 @@ 1 1 {{velocity output="false"}} 2 2 $xwiki.ssx.use('IconThemesCode.IconPicker') 3 - ## The icons themes may need some SSX, so we ask forarenderingof an iconofeachicontheme,to be able to display4 - ## allicon themesin thepicker3 + ## The icons themes may need some SSX, so we ask to load the resources of all icon sets to be able to display them 4 + ## in the picker. 5 5 ## ToDo: since it is a bit hacky, a better system would be to dynamically load the needed SSX on demand 6 6 #foreach($iconSetName in $services.icon.iconSetNames) 7 - $services.icon. render('wiki',$iconSetName)7 + $services.icon.use($iconSetName) 8 8 #end 9 9 {{/velocity}} 10 10