Changes for page Panels

Last modified by Thomas Coelho (local) on 2024/02/05 13:37

From version 2.1
edited by Thomas Coelho (local)
on 2022/05/27 15:10
Change comment: Install extension [org.xwiki.platform:xwiki-platform-panels-ui/14.4]
To version 4.1
edited by Thomas Coelho (local)
on 2024/02/05 13:37
Change comment: Install extension [org.xwiki.platform:xwiki-platform-panels-ui/16.0.0]

Summary

Details

Page properties
Content
... ... @@ -41,10 +41,7 @@
41 41  
42 42  {{velocity output="false"}}
43 43  #macro (displayConfigPropertyValue $propName $action)
44 - #set ($output = $doc.display($propName, $action))
45 - #set ($output = $stringtool.removeStart($output, '{{html clean="false" wiki="false"}}'))
46 - #set ($output = $stringtool.removeEnd($output, '{{/html}}'))
47 - $output
44 + #unwrapXPropertyDisplay($doc.display($propName, $action))
48 48  #end
49 49  
50 50  #macro (displayPageLayoutSection)
... ... @@ -158,7 +158,7 @@
158 158   #end
159 159   #end
160 160   #set ($panelsPerRow = 3)
161 - (% id="dhtmltooltip" style="visibility: hidden;" %)((()))
158 + (% id="dhtmltooltip" %)((()))
162 162   #if ($request.place)
163 163   #set ($ajaxurl = $xwiki.getDocument('Panels.PanelLayoutUpdate').getURL('get', "xpage=plain&outputSyntax=plain&place=$!{escapetool.url($request.place)}&prefsdoc=${escapetool.url($currentDoc)}&form_token=${escapetool.url($services.csrf.getToken())}"))
164 164   #else
XWiki.StyleSheetExtension[0]
Code
... ... @@ -43,6 +43,7 @@
43 43  }
44 44  
45 45  #dhtmltooltip {
46 + display: none;
46 46   background-color: $theme.highlightColor;
47 47   border: 1px solid $theme.borderColor;
48 48   padding: 2px 4px;