Änderungen von Dokument Panel Macro

Zuletzt geändert von xwikiadmin am 2025/01/07 12:27

Von Version 5.1
bearbeitet von xwikiadmin
am 2024/06/24 15:04
Änderungskommentar: Install extension [com.xwiki.pro:xwiki-pro-macros-ui/1.19.4]
Auf Version 3.1
bearbeitet von xwikiadmin
am 2023/04/25 11:27
Ä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.StyleSheetExtension[0]
Code
... ... @@ -4,26 +4,5 @@
4 4  }
5 5  .macro-border {
6 6   margin-bottom: 10px;
7 - overflow: auto;
7 + overflow: hidden;
8 8  }
9 -
10 -/*default border style*/
11 -.macro-panel.macro-border, .macro-panel > .macro-border {
12 - border-color: transparent;
13 - border-width: 1px;
14 - border-style: solid;
15 - border-radius: 8px 8px 0px 0px;
16 -}
17 -
18 -/* style for the excerpt-include macro */
19 -.macro-excerpt-include.macro-panel > .macro-border {
20 - border: 1px solid;
21 -}
22 -
23 -.macro-excerpt-include.macro-panel > .macro-border > .macro-panel-title {
24 - border-bottom: 1px solid;
25 -}
26 -
27 -.macro-excerpt-include.macro-panel > .macro-border > .macro-panel-content {
28 - padding-bottom: 1ex;
29 -}
XWiki.WikiMacroClass[0]
Makro-Code
... ... @@ -84,13 +84,17 @@
84 84  #end
85 85  {{/velocity}}
86 86  
87 +{{include reference="Licenses.Code.VelocityMacros"/}}
88 +
87 87  {{velocity}}
88 88  ## We need to check if there is a valid license because the macro is registered even if the user doesn't have view right
89 89  ## on the macro definition page. See XWIKI-14828: Rendering macros defined in wiki pages are available to users that
90 90  ## don't have view right on those pages.
91 -#if ($services.promacrolicensing.hasLicensureForEntity($xcontext.macro.doc.documentReference))
93 +#if ($services.licensing.licensor.hasLicensureForEntity($xcontext.macro.doc.documentReference))
92 92   #executeMacro
93 93  #else
94 - {{missingLicenseMessage extensionName="proMacros.extension.name"/}}
96 + {{error}}
97 + #getMissingLicenseMessage('proMacros.extension.name')
98 + {{/error}}
95 95  #end
96 96  {{/velocity}}
Standardkategorie
... ... @@ -1,0 +1,1 @@
1 +content
XWiki.WikiMacroParameterClass[1]
Parameter-Vorgabe
... ... @@ -1,0 +1,1 @@
1 +white
XWiki.WikiMacroParameterClass[2]
Parameter-Vorgabe
... ... @@ -1,0 +1,1 @@
1 +solid
XWiki.WikiMacroParameterClass[3]
Parameter-Vorgabe
... ... @@ -1,0 +1,1 @@
1 +1
XWiki.WikiMacroParameterClass[11]
Parameter-Vorgabe
... ... @@ -1,0 +1,1 @@
1 +8px 8px 0px 0px