Änderungen von Dokument MicrosoftStream

Zuletzt geändert von xwikiadmin am 2024/06/24 14:35

Von Version 4.1
bearbeitet von xwikiadmin
am 2024/06/24 14:35
Änderungskommentar: Install extension [com.xwiki.pro:xwiki-pro-macros-ui/1.19.4]
Auf Version 2.1
bearbeitet von xwikiadmin
am 2023/04/25 10:54
Änderungskommentar: Install extension [com.xwiki.pro:xwiki-pro-macros/1.7.1]

Zusammenfassung

Details

Seiteneigenschaften
Übergeordnete Seite
... ... @@ -1,1 +1,1 @@
1 -WebHome
1 +xwiki:XWiki.Macros.WebHome
XWiki.WikiMacroClass[0]
Makro-Code
... ... @@ -69,13 +69,17 @@
69 69  #end
70 70  {{/velocity}}
71 71  
72 +{{include reference="Licenses.Code.VelocityMacros"/}}
73 +
72 72  {{velocity}}
73 73  ## We need to check if there is a valid license because the macro is registered even if the user doesn't have view right
74 74  ## on the macro definition page. See XWIKI-14828: Rendering macros defined in wiki pages are available to users that
75 75  ## don't have view right on those pages.
76 -#if ($services.promacrolicensing.hasLicensureForEntity($xcontext.macro.doc.documentReference))
78 +#if ($services.licensing.licensor.hasLicensureForEntity($xcontext.macro.doc.documentReference))
77 77   #executeMacro
78 78  #else
79 - {{missingLicenseMessage extensionName="proMacros.extension.name"/}}
81 + {{error}}
82 + #getMissingLicenseMessage('proMacros.extension.name')
83 + {{/error}}
80 80  #end
81 81  {{/velocity}}
Standardkategorie
... ... @@ -1,0 +1,1 @@
1 +Content