Changes for page Panel Macro

Last modified by Frank Fock on 2025/04/04 21:18

From version 1.1
edited by Frank Fock
on 2024/02/07 18:16
Change comment: Install extension [com.xwiki.pro:xwiki-pro-macros/1.14.3]
To version 2.1
edited by Frank Fock
on 2024/05/23 17:17
Change comment: Install extension [com.xwiki.pro:xwiki-pro-macros/1.17.3]

Summary

Details

XWiki.StyleSheetExtension[0]
Code
... ... @@ -4,5 +4,5 @@
4 4  }
5 5  .macro-border {
6 6   margin-bottom: 10px;
7 - overflow: hidden;
7 + overflow: auto;
8 8  }
XWiki.WikiMacroClass[0]
Macro code
... ... @@ -84,8 +84,6 @@
84 84  #end
85 85  {{/velocity}}
86 86  
87 -{{include reference="Licenses.Code.VelocityMacros"/}}
88 -
89 89  {{velocity}}
90 90  ## We need to check if there is a valid license because the macro is registered even if the user doesn't have view right
91 91  ## on the macro definition page. See XWIKI-14828: Rendering macros defined in wiki pages are available to users that
... ... @@ -93,8 +93,6 @@
93 93  #if ($services.licensing.licensor.hasLicensureForEntity($xcontext.macro.doc.documentReference))
94 94   #executeMacro
95 95  #else
96 - {{error}}
97 - #getMissingLicenseMessage('proMacros.extension.name')
98 - {{/error}}
94 + {{missingLicenseMessage extensionName="proMacros.extension.name"/}}
99 99  #end
100 100  {{/velocity}}