Änderungen von Dokument Status
Zuletzt geändert von xwikiadmin am 2024/06/24 14:35
Von 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]
Auf 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]
Zusammenfassung
-
Objekte (1 geändert, 0 hinzugefügt, 0 gelöscht)
Details
- XWiki.WikiMacroClass[0]
-
- Makro-Code
-
... ... @@ -1,6 +1,4 @@ 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}} 1 +{{velocity output="false"}} 4 4 #macro (executeMacro) 5 5 #set ($discard = $xwiki.ssx.use('XWiki.Macros.Status')) 6 6 #set ($color = $xcontext.macro.params.colour) ... ... @@ -21,6 +21,11 @@ 21 21 <span class="$statusCssClass" title="$title">$title</span> 22 22 {{/html}} 23 23 #end 22 +{{/velocity}} 23 + 24 +{{include reference="Licenses.Code.VelocityMacros"/}} 25 + 26 +{{velocity}} 24 24 ## We need to check if there is a valid license because the macro is registered even if the user doesn't have view right 25 25 ## on the macro definition page. See XWIKI-14828: Rendering macros defined in wiki pages are available to users that 26 26 ## don't have view right on those pages.