Modifications pour le document Confluence bridge for Section
Modifié par superadmin le 21/07/2025 - 08:55
Depuis la version 1.1
modifié par Admin
sur 25/06/2024 - 07:06
sur 25/06/2024 - 07:06
Commentaire de modification :
Install extension [com.xwiki.pro:xwiki-pro-macros-confluence-bridges-ui/1.19.4]
À la version 3.1
modifié par superadmin
sur 25/05/2025 - 00:00
sur 25/05/2025 - 00:00
Commentaire de modification :
Install extension [com.xwiki.pro:xwiki-pro-macros-confluence-bridges-ui/1.26.20]
Résumé
-
Propriétés de la Page (2 modifications, 0 ajouts, 0 suppressions)
-
Objets (2 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 - Contenu
-
... ... @@ -43,16 +43,16 @@ 43 43 44 44 {{code}} 45 45 {{confluence_section border="true"}} 46 -{{column}} 46 +{{confluence_column}} 47 47 Content of a simple section, with border. 48 -{{/column}} 48 +{{/confluence_column}} 49 49 {{/confluence_section}} 50 50 {{/code}} 51 51 52 52 {{confluence_section border="true"}} 53 -{{column}} 53 +{{confluence_column}} 54 54 Content of a simple section, with border. 55 -{{/column}} 55 +{{/confluence_column}} 56 56 {{/confluence_section}} 57 57 58 58 == Section with 4 columns == ... ... @@ -60,21 +60,21 @@ 60 60 {{code}} 61 61 {{confluence_section border="true"}} 62 62 63 -{{column width="250px"}} 63 +{{confluence_column width="250px"}} 64 64 Content in the column 1 65 -{{/column}} 65 +{{/confluence_column}} 66 66 67 -{{column width="300px"}} 67 +{{confluence_column width="300px"}} 68 68 Content in the column 2 69 -{{/column}} 69 +{{/confluence_column}} 70 70 71 -{{column width="300px"}} 71 +{{confluence_column width="300px"}} 72 72 Content in the column 3 73 -{{/column}} 73 +{{/confluence_column}} 74 74 75 -{{column width="250px"}} 75 +{{confluence_column width="250px"}} 76 76 Content in the column 4 77 -{{/column}} 77 +{{/confluence_column}} 78 78 79 79 {{/confluence_section}} 80 80 {{/code}} ... ... @@ -81,21 +81,21 @@ 81 81 82 82 {{confluence_section border="true"}} 83 83 84 -{{column width="250px"}} 84 +{{confluence_column width="250px"}} 85 85 Content in the column 1 86 -{{/column}} 86 +{{/confluence_column}} 87 87 88 -{{column width="300px"}} 88 +{{confluence_column width="300px"}} 89 89 Content in the column 2 90 -{{/column}} 90 +{{/confluence_column}} 91 91 92 -{{column width="300px"}} 92 +{{confluence_column width="300px"}} 93 93 Content in the column 3 94 -{{/column}} 94 +{{/confluence_column}} 95 95 96 -{{column width="250px"}} 96 +{{confluence_column width="250px"}} 97 97 Content in the column 4 98 -{{/column}} 98 +{{/confluence_column}} 99 99 100 100 {{/confluence_section}} 101 101 {{/excerpt}}
- XWiki.StyleSheetExtension[0]
-
- Code
-
... ... @@ -1,7 +1,10 @@ 1 1 .hasBorder .macro-column { 2 2 border: 1px dashed grey; 3 3 } 4 -.macro-section 4 + 5 +/* Some sections don't have any column. In this case, the content would be 6 + broken if we didn't apply flex only if columns are there. */ 7 +.macro-section:has(>.macro-column) 5 5 { 6 6 display:flex; 7 7 }
- 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"/}}