Änderungen von Dokument Balsamiq Macro

Zuletzt geändert von xwikiadmin am 2023/10/26 10:38

Von Version 4.1
bearbeitet von xwikiadmin
am 2023/10/26 09:30
Änderungskommentar: Migrated property [type] from class [XWiki.WikiMacroParameterClass]
Auf Version 1.1
bearbeitet von xwikiadmin
am 2022/05/10 12:01
Änderungskommentar: Install extension [com.xwiki.pro:xwiki-pro-macros/1.2.2]

Zusammenfassung

Details

XWiki.WikiMacroClass[0]
Makro-Code
... ... @@ -1,5 +1,4 @@
1 -{{velocity output="false"}}
2 -#macro (executeMacro)
1 +{{velocity}}
3 3   ## Macro parameters
4 4   #set($resourceID = $wikimacro.parameters.get('initialResourceID'))
5 5   #set($initialBranchID = $wikimacro.parameters.get('initialBranchID'))
... ... @@ -22,19 +22,4 @@
22 22   [[image:${attchmentName}]]
23 23   )))
24 24   #end
25 -#end
26 26  {{/velocity}}
27 -
28 -{{include reference="Licenses.Code.VelocityMacros"/}}
29 -
30 -{{velocity}}
31 -## We need to check if there is a valid license because the macro is registered even if the user doesn't have view right
32 -## on the macro definition page. See XWIKI-14828: Rendering macros defined in wiki pages are available to users that
33 -## don't have view right on those pages.
34 -#if ($services.licensing.licensor.hasLicensureForEntity($xcontext.macro.doc.documentReference))
35 - #executeMacro
36 -#else
37 - {{error}}
38 - #getMissingLicenseMessage('proMacros.extension.name')
39 - {{/error}}
40 -#end