Changes for page Panels

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

From 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]
To 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]

Summary

Details

Page properties
Content
... ... @@ -41,7 +41,10 @@
41 41  
42 42  {{velocity output="false"}}
43 43  #macro (displayConfigPropertyValue $propName $action)
44 - #unwrapXPropertyDisplay($doc.display($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
45 45  #end
46 46  
47 47  #macro (displayPageLayoutSection)
... ... @@ -155,7 +155,7 @@
155 155   #end
156 156   #end
157 157   #set ($panelsPerRow = 3)
158 - (% id="dhtmltooltip" %)((()))
161 + (% id="dhtmltooltip" style="visibility: hidden;" %)((()))
159 159   #if ($request.place)
160 160   #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())}"))
161 161   #else
XWiki.StyleSheetExtension[0]
Code
... ... @@ -43,7 +43,6 @@
43 43  }
44 44  
45 45  #dhtmltooltip {
46 - display: none;
47 47   background-color: $theme.highlightColor;
48 48   border: 1px solid $theme.borderColor;
49 49   padding: 2px 4px;