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 1.1
edited by Thomas Coelho (local)
on 2022/04/20 16:06
Change comment: Install extension [org.xwiki.platform:xwiki-platform-panels-ui/14.2.1]

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
... ... @@ -247,7 +247,7 @@
247 247   (((
248 248   (% class="label" %)((($doc.display('name', $obj))))
249 249   (% id="panelContainer${panelCount}" class="panelcontainer" title="${doc.display('description', 'view', $obj, 'xwiki/2.0').replaceAll('^\{\{html(.*?)\}\}', '').replaceAll('\{\{/html\}\}$', '')}" %)(((#if($panelsStatus.get($item) == 'false')#displaypanel($item)#else(% class="panel" %)((()))#end)))
250 - (% class="xwikibuttonlink" %)((([[$services.localization.render('edit')>>path:$xwiki.getURL($item, 'edit')]] [[$services.localization.render('delete')>>path:$xwiki.getURL($item, 'delete')]])))
253 + (% class="xwikibuttonlink" %)((([[$services.localization.render('edit')>>path:$xwiki.getURL($item, 'inline')]] [[$services.localization.render('delete')>>path:$xwiki.getURL($item, 'delete')]])))
251 251   )))
252 252   #set ($panelCount = $panelCount + 1)
253 253   #end## foreach panel
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;