Änderungen von Dokument Confluence bridge for Column
Zuletzt geändert von Daniel Herrmann am 2025/09/20 09:54
Von Version 1.1
bearbeitet von Daniel Herrmann
am 2025/06/22 19:09
am 2025/06/22 19:09
Änderungskommentar:
Install extension [com.xwiki.pro:xwiki-pro-macros-confluence-bridges-ui/1.26.19]
Auf Version
3.1
bearbeitet von Daniel Herrmann
am 2025/06/23 21:15
am 2025/06/23 21:15
Änderungskommentar:
Install extension [com.xwiki.pro:xwiki-pro-macros-confluence-bridges-ui/1.27.0]
Zusammenfassung
Details
- XWiki.StyleSheetExtension[0]
-
- Code
-
... ... @@ -1,4 +1,3 @@ 1 1 .macro-column { 2 - display: table-cell; 3 3 padding: 5px; 4 4 }
- XWiki.WikiMacroClass[0]
-
- Makro-Code
-
... ... @@ -6,6 +6,8 @@ 6 6 #if ("$!xcontext.macro.params.width" != '') 7 7 #set ($escapedWidth = $services.rendering.escape($xcontext.macro.params.width, 'xwiki/2.1')) 8 8 #set ($style = "style='width: $escapedWidth'") 9 + #else 10 + #set ($style = "style='width:100%'") 9 9 #end 10 10 (% class="macro-column" data-width="$escapedWidth" $style %)((( 11 11 {{wikimacrocontent /}} ... ... @@ -17,7 +17,7 @@ 17 17 ## We need to check if there is a valid license because the macro is registered even if the user doesn't have view right 18 18 ## on the macro definition page. See XWIKI-14828: Rendering macros defined in wiki pages are available to users that 19 19 ## don't have view right on those pages. 20 -#if ($services. promacrolicensing.hasLicensureForEntity($xcontext.macro.doc.documentReference))22 +#if ($services.licensing.licensor.hasLicensureForEntity($xcontext.macro.doc.documentReference)) 21 21 #executeMacro 22 22 #else 23 23 {{missingLicenseMessage extensionName="proMacros.extension.name"/}}