Änderungen von Dokument Confluence bridge for Column

Zuletzt geändert von Daniel Herrmann am 2025/09/20 09:54

Von Version Icon 4.1 Icon
bearbeitet von Daniel Herrmann
am 2025/07/19 16:45
Änderungskommentar: Migrated property [order] from class [XWiki.WikiMacroParameterClass]
Auf Version 1.1 Icon
bearbeitet von Daniel Herrmann
am 2025/06/22 19:09
Änderungskommentar: Install extension [com.xwiki.pro:xwiki-pro-macros-confluence-bridges-ui/1.26.19]

Zusammenfassung

Details

Icon XWiki.StyleSheetExtension[0]
Code
... ... @@ -1,3 +1,4 @@
1 1  .macro-column {
2 + display: table-cell;
2 2   padding: 5px;
3 3  }
Icon XWiki.WikiMacroClass[0]
Makro-Code
... ... @@ -6,8 +6,6 @@
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%'")
11 11   #end
12 12   (% class="macro-column" data-width="$escapedWidth" $style %)(((
13 13   {{wikimacrocontent /}}
... ... @@ -19,7 +19,7 @@
19 19  ## We need to check if there is a valid license because the macro is registered even if the user doesn't have view right
20 20  ## on the macro definition page. See XWIKI-14828: Rendering macros defined in wiki pages are available to users that
21 21  ## don't have view right on those pages.
22 -#if ($services.licensing.licensor.hasLicensureForEntity($xcontext.macro.doc.documentReference))
20 +#if ($services.promacrolicensing.hasLicensureForEntity($xcontext.macro.doc.documentReference))
23 23   #executeMacro
24 24  #else
25 25   {{missingLicenseMessage extensionName="proMacros.extension.name"/}}