Modifications pour le document Status
Modifié par superadmin le 21/07/2025 - 08:55
Depuis la version 2.1
modifié par Admin
sur 25/06/2024 - 07:05
sur 25/06/2024 - 07:05
Commentaire de modification :
Install extension [com.xwiki.pro:xwiki-pro-macros-ui/1.19.4]
À la version 5.1
modifié par superadmin
sur 21/07/2025 - 08:55
sur 21/07/2025 - 08:55
Commentaire de modification :
Migrated property [featureMandatory] from class [XWiki.WikiMacroParameterClass]
Résumé
-
Propriétés de la Page (1 modifications, 0 ajouts, 0 suppressions)
-
Objets (4 modifications, 0 ajouts, 0 suppressions)
Détails
- Propriétés de la Page
-
- Auteur du document
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.admin 1 +XWiki.superadmin
- XWiki.WikiMacroClass[0]
-
- Code de la macro
-
... ... @@ -22,7 +22,7 @@ 22 22 ## We need to check if there is a valid license because the macro is registered even if the user doesn't have view right 23 23 ## on the macro definition page. See XWIKI-14828: Rendering macros defined in wiki pages are available to users that 24 24 ## don't have view right on those pages. 25 -#if ($services. promacrolicensing.hasLicensureForEntity($xcontext.macro.doc.documentReference))25 +#if ($services.licensing.licensor.hasLicensureForEntity($xcontext.macro.doc.documentReference)) 26 26 #executeMacro 27 27 #else 28 28 {{missingLicenseMessage extensionName="proMacros.extension.name"/}} - Description de la macro
-
... ... @@ -1,1 +1,0 @@ 1 -Insert a colored label in the text to highlight the status of an item.
- XWiki.WikiMacroParameterClass[0]
-
- Description du paramètre
-
... ... @@ -1,1 +1,0 @@ 1 -The text of the status. If not specified, the color name will be displayed (e.g.:"Grey").
- XWiki.WikiMacroParameterClass[1]
-
- Description du paramètre
-
... ... @@ -1,1 +1,0 @@ 1 -The color of the status(text color and background color). The following colors are available: "Blue", "Green", "Grey", "Purple", "Red" and "Yellow". Default: "Grey".
- XWiki.WikiMacroParameterClass[2]
-
- Description du paramètre
-
... ... @@ -1,1 +1,0 @@ 1 -The aspect of the status: either white text on dark color background or dark color text on light color background. This is a boolean parameter so it should be filled with "true" or "false". Default: "false".