Changes for page homeopathsSheet
Last modified by Jip-jan Alunkel on March 26, 17:31
From version 1.143
edited by Jip-jan Alunkel
on March 08, 18:45
on March 08, 18:45
Change comment:
There is no comment for this version
To version 1.149
edited by Jip-jan Alunkel
on March 08, 18:53
on March 08, 18:53
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -97,9 +97,14 @@ 97 97 #set($label = $services.localization.render("homeopaths.classproperty.${key}")) 98 98 #if($theDocObj.getProperty($key) || $propertyType == "address") 99 99 #set($value = $theDocObj.getProperty($key).value) 100 - #if(($propertyType == "checkbox" || $propertyType == "radio") && !$value) 101 - #set($value = "yes") 100 + #if(!$value) 101 + #if($propertyType == "checkbox" || $propertyType == "radio") 102 + #set($value = "1") 103 + #else 104 + #set($value = "") 105 + #end 102 102 #end 107 +$value 103 103 #set($newElem = { 104 104 "id" : "$key", 105 105 "type" : $propertyType, ... ... @@ -127,7 +127,8 @@ 127 127 #end 128 128 #createFormElement($newElem) 129 129 #if($propertyOpener) 130 - #createExpandStart($newElem $newElem["value"]) 135 +$value 136 + #createExpandStart($newElem $value) 131 131 #end 132 132 #end 133 133 #end