Änderungen von Dokument Panel Macro
Zuletzt geändert von xwikiadmin am 2025/01/07 12:27
Von Version 4.1
bearbeitet von xwikiadmin
am 2023/10/26 09:30
am 2023/10/26 09:30
Änderungskommentar:
Migrated property [type] from class [XWiki.WikiMacroParameterClass]
Auf Version 5.1
bearbeitet von xwikiadmin
am 2024/06/24 15:04
am 2024/06/24 15:04
Änderungskommentar:
Install extension [com.xwiki.pro:xwiki-pro-macros-ui/1.19.4]
Zusammenfassung
-
Seiteneigenschaften (1 geändert, 0 hinzugefügt, 0 gelöscht)
-
Objekte (6 geändert, 0 hinzugefügt, 0 gelöscht)
Details
- Seiteneigenschaften
-
- Übergeordnete Seite
-
... ... @@ -1,1 +1,1 @@ 1 - xwiki:XWiki.Macros.WebHome1 +WebHome
- XWiki.StyleSheetExtension[0]
-
- Code
-
... ... @@ -4,5 +4,26 @@ 4 4 } 5 5 .macro-border { 6 6 margin-bottom: 10px; 7 - overflow: hidden;7 + overflow: auto; 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,17 +84,13 @@ 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 92 92 ## don't have view right on those pages. 93 -#if ($services.licensing. licensor.hasLicensureForEntity($xcontext.macro.doc.documentReference))91 +#if ($services.promacrolicensing.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}} - Standardkategorie
-
... ... @@ -1,1 +1,0 @@ 1 -content
- XWiki.WikiMacroParameterClass[1]
-
- Parameter-Vorgabe
-
... ... @@ -1,1 +1,0 @@ 1 -white
- XWiki.WikiMacroParameterClass[2]
-
- Parameter-Vorgabe
-
... ... @@ -1,1 +1,0 @@ 1 -solid
- XWiki.WikiMacroParameterClass[3]
-
- Parameter-Vorgabe
-
... ... @@ -1,1 +1,0 @@ 1 -1
- XWiki.WikiMacroParameterClass[11]
-
- Parameter-Vorgabe
-
... ... @@ -1,1 +1,0 @@ 1 -8px 8px 0px 0px