Modifications pour le document SearchSuggestSourceSheet
Modifié par Florent Charton le 2025/07/04 23:28
Depuis la version 3.1
modifié par Florent Charton
sur 2025/07/04 23:28
sur 2025/07/04 23:28
Commentaire de modification :
Install extension [org.xwiki.platform:xwiki-platform-search-ui/16.10.9]
À la version 1.1
modifié par superadmin
sur 2022/06/20 08:49
sur 2022/06/20 08:49
Commentaire de modification :
Install extension [org.xwiki.platform:xwiki-platform-search-ui/13.10.6]
Résumé
-
Propriétés de la Page (2 modifications, 0 ajouts, 0 suppressions)
Détails
- Propriétés de la Page
-
- Auteur du document
-
... ... @@ -1,1 +1,1 @@ 1 - xwiki:XWiki.fcharton1 +XWiki.superadmin - Contenu
-
... ... @@ -16,12 +16,10 @@ 16 16 #set ($displayFormType = $property.getProperty('displayFormType')) 17 17 #set ($isCheckbox = $editing && $property.classType == 'Boolean' && (!$displayFormType || $displayFormType.value == 'checkbox')) 18 18 ; {{html wiki="true"}} 19 - #if ($isCheckbox) 20 - $doc.display($property.name, 'edit', $object) 21 - #end 22 - ## $object is not hard typed to be an object, it's also sometimes a map, henceforth the weird looking condition on 23 - ## this next line. Detailed explanations => https://github.com/xwiki/xwiki-platform/pull/2816#discussion_r1489621617 24 - <label#if ($editing && $object!={}) for="${prefix}$property.name"#end> 19 + <label#if ($editing) for="${prefix}$property.name"#end> 20 + #if ($isCheckbox) 21 + $doc.display($property.name, 'edit') 22 + #end 25 25 $property.translatedPrettyName 26 26 </label> 27 27 {{/html}}## ... ... @@ -34,10 +34,8 @@ 34 34 : #if ($editing) 35 35 $doc.display($property.name, 'edit') 36 36 #else 37 - $ services.rendering.escape($!object.getProperty($property.name).value, 'xwiki/2.1')35 + {{{$!object.getProperty($property.name).value}}} 38 38 #end 39 - #else 40 - : (% class='hidden' %) 41 41 #end 42 42 #end 43 43 )))