Änderungen von Dokument Status
Zuletzt geändert von xwikiadmin am 2024/06/24 14:35
Von Version 3.1
bearbeitet von xwikiadmin
am 2023/04/25 10:54
am 2023/04/25 10:54
Änderungskommentar:
Install extension [com.xwiki.pro:xwiki-pro-macros/1.7.1]
Auf Version 5.1
bearbeitet von xwikiadmin
am 2023/10/26 09:36
am 2023/10/26 09:36
Änderungskommentar:
Install extension [com.xwiki.pro:xwiki-pro-macros/1.9.2]
Zusammenfassung
-
Objekte (1 geändert, 0 hinzugefügt, 0 gelöscht)
Details
- XWiki.WikiMacroClass[0]
-
- Makro-Code
-
... ... @@ -1,4 +1,6 @@ 1 -{{velocity output="false"}} 1 +{{include reference="Licenses.Code.VelocityMacros"/}}{{comment}} 2 +A comment is needed in order to skip extra spaces added and use this macro inline. 3 +{{/comment}}{{velocity}} 2 2 #macro (executeMacro) 3 3 #set ($discard = $xwiki.ssx.use('XWiki.Macros.Status')) 4 4 #set ($color = $xcontext.macro.params.colour) ... ... @@ -19,11 +19,6 @@ 19 19 <span class="$statusCssClass" title="$title">$title</span> 20 20 {{/html}} 21 21 #end 22 -{{/velocity}} 23 - 24 -{{include reference="Licenses.Code.VelocityMacros"/}} 25 - 26 -{{velocity}} 27 27 ## We need to check if there is a valid license because the macro is registered even if the user doesn't have view right 28 28 ## on the macro definition page. See XWIKI-14828: Rendering macros defined in wiki pages are available to users that 29 29 ## don't have view right on those pages.