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 2.1
modifié par Florent Charton
sur 2024/08/08 18:44
sur 2024/08/08 18:44
Commentaire de modification :
Install extension [org.xwiki.platform:xwiki-platform-search-ui/15.10.11]
Résumé
-
Propriétés de la Page (1 modifications, 0 ajouts, 0 suppressions)
Détails
- Propriétés de la Page
-
- 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}}## ... ... @@ -36,8 +36,6 @@ 36 36 #else 37 37 $services.rendering.escape($!object.getProperty($property.name).value, 'xwiki/2.1') 38 38 #end 39 - #else 40 - : (% class='hidden' %) 41 41 #end 42 42 #end 43 43 )))