Changes for page homeopathsSheet
Last modified by Jip-jan Alunkel on March 26, 17:31
From version 1.125
edited by Jip-jan Alunkel
on March 08, 18:20
on March 08, 18:20
Change comment:
There is no comment for this version
To version 1.133
edited by Jip-jan Alunkel
on March 08, 18:30
on March 08, 18:30
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -95,8 +95,7 @@ 95 95 #set($extraAttributes = $item.extraAttributes) 96 96 #end 97 97 #set($label = $services.localization.render("homeopaths.classproperty.${key}")) 98 - 99 - #if($theDocObj.getProperty($key)) 98 + #if($theDocObj.getProperty($key) || $propertyType == "address") 100 100 #set($value = $theDocObj.getProperty($key).value) 101 101 #if(!$value) 102 102 #set($value = "1") ... ... @@ -111,11 +111,12 @@ 111 111 "data-xobj-fieldname" : "$key", 112 112 "value" : "$value" 113 113 }) 114 - #if($extraAttributes) 113 + #if($extraAttributes.keySet().size() > 0) 115 115 #set($attrMap = $extraAttributes) 116 116 #foreach($attr in $attrMap.keySet()) 117 117 #set($discard = $newElem.put("$attr", $attrMap[$attr])) 118 118 #end 118 +$newElem 119 119 #end 120 120 #if($propertyOpener) 121 121 #set($discard = $newElem.put("data-opener", "true"))