Modifications pour le document Confluence bridge for Section
Modifié par superadmin le 21/07/2025 - 08:55
Depuis la version 5.1
modifié par superadmin
sur 21/07/2025 - 08:55
sur 21/07/2025 - 08:55
Commentaire de modification :
Migrated property [executionIsolated] from class [XWiki.WikiMacroClass]
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. superadmin1 +XWiki.admin - Contenu
-
... ... @@ -43,16 +43,16 @@ 43 43 44 44 {{code}} 45 45 {{confluence_section border="true"}} 46 -{{co nfluence_column}}46 +{{column}} 47 47 Content of a simple section, with border. 48 -{{/co nfluence_column}}48 +{{/column}} 49 49 {{/confluence_section}} 50 50 {{/code}} 51 51 52 52 {{confluence_section border="true"}} 53 -{{co nfluence_column}}53 +{{column}} 54 54 Content of a simple section, with border. 55 -{{/co nfluence_column}}55 +{{/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 -{{co nfluence_column width="250px"}}63 +{{column width="250px"}} 64 64 Content in the column 1 65 -{{/co nfluence_column}}65 +{{/column}} 66 66 67 -{{co nfluence_column width="300px"}}67 +{{column width="300px"}} 68 68 Content in the column 2 69 -{{/co nfluence_column}}69 +{{/column}} 70 70 71 -{{co nfluence_column width="300px"}}71 +{{column width="300px"}} 72 72 Content in the column 3 73 -{{/co nfluence_column}}73 +{{/column}} 74 74 75 -{{co nfluence_column width="250px"}}75 +{{column width="250px"}} 76 76 Content in the column 4 77 -{{/co nfluence_column}}77 +{{/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 -{{co nfluence_column width="250px"}}84 +{{column width="250px"}} 85 85 Content in the column 1 86 -{{/co nfluence_column}}86 +{{/column}} 87 87 88 -{{co nfluence_column width="300px"}}88 +{{column width="300px"}} 89 89 Content in the column 2 90 -{{/co nfluence_column}}90 +{{/column}} 91 91 92 -{{co nfluence_column width="300px"}}92 +{{column width="300px"}} 93 93 Content in the column 3 94 -{{/co nfluence_column}}94 +{{/column}} 95 95 96 -{{co nfluence_column width="250px"}}96 +{{column width="250px"}} 97 97 Content in the column 4 98 -{{/co nfluence_column}}98 +{{/column}} 99 99 100 100 {{/confluence_section}} 101 101 {{/excerpt}}
- XWiki.StyleSheetExtension[0]
-
- Code
-
... ... @@ -1,10 +1,7 @@ 1 1 .hasBorder .macro-column { 2 2 border: 1px dashed grey; 3 3 } 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) 4 +.macro-section 8 8 { 9 9 display:flex; 10 10 }
- 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.licensing. licensor.hasLicensureForEntity($xcontext.macro.doc.documentReference))25 +#if ($services.promacrolicensing.hasLicensureForEntity($xcontext.macro.doc.documentReference)) 26 26 #executeMacro 27 27 #else 28 28 {{missingLicenseMessage extensionName="proMacros.extension.name"/}}