Modifications pour le document Expand
Modifié par superadmin le 21/07/2025 - 08:55
Résumé
-
Objets (2 modifications, 0 ajouts, 0 suppressions)
Détails
- XWiki.StyleSheetExtension[0]
-
- Code
-
... ... @@ -8,9 +8,8 @@ 8 8 transform: rotate(90deg); 9 9 } 10 10 11 -.confluence-expand-macro .panel-title{ 11 +.confluence-expand-macro .panel-title { 12 12 padding: @panel-heading-padding; 13 - display: block; 14 14 } 15 15 16 16 .confluence-expand-macro .panel-body {
- XWiki.WikiMacroClass[0]
-
- Code de la macro
-
... ... @@ -1,14 +1,14 @@ 1 1 {{velocity output="false"}} 2 2 #macro (executeMacro) 3 - #set ($discard = $xwiki.ssx.use('Confluence.Macros.Expand'))4 - #set ($opened = $xcontext.action == 'edit' || $ xcontext.action=='export')3 + $xwiki.ssx.use('Confluence.Macros.Expand') 4 + #set ($opened = $xcontext.action == 'edit' || $request.getParameter('format') == "html-print") 5 5 {{html clean="false" wiki="true"}} 6 6 <details class="confluence-expand-macro panel panel-default" #if ($opened)open#end> 7 7 <summary> 8 - < spanclass="panel-title">8 + <div class="panel-title"> 9 9 <span class="glyphicon glyphicon-menu-right" aria-hidden="true"></span> 10 10 $services.rendering.escape($escapetool.xml("${wikimacro.parameters.title}"), 'xwiki/2.1') 11 - </ span>11 + </div> 12 12 </summary> 13 13 <div class="panel-body"> 14 14