Changes for page homeopathsSheet

Last modified by Jip-jan Alunkel on March 26, 17:31

From version 3.187
edited by Jip-jan Alunkel
on March 11, 18:14
Change comment: Rollback to version 1.38
To version 3.188
edited by Jip-jan Alunkel
on March 11, 18:20
Change comment: Rollback to version 1.38

Summary

Details

Page properties
Content
... ... @@ -120,6 +120,28 @@
120 120   #end
121 121   #set($translatedProperties = {})
122 122   #set($checkBool = ["false","true"])
123 +
124 +
125 +
126 + #if($item.type == "checkbox" || $item.type == "radio")
127 + #set($value = "1")
128 + #if(!$item.containsKey("classless") && $theDocObj.getProperty($propertyName))
129 + #set($item.extraAttributes["data-checked"] = "$checkBool[$value]")
130 + #else
131 + #if(!$item.extraAttributes.containsKey("data-checked"))
132 + #set($item.extraAttributes["data-checked"] = "$checkBool[0]")
133 + #end
134 + #end
135 + #else
136 + #if(!$item.containsKey("classless") && $theDocObj.getProperty($propertyName))
137 + #if($theDocObj.getProperty($propertyName).value)
138 + #set($value = $theDocObj.getProperty($propertyName).value)
139 + #end
140 + #end
141 + #end
142 +
143 +
144 +#*
123 123   #if(!$item.containsKey("classless") && $theDocObj.getProperty($propertyName))
124 124   #if($theDocObj.getProperty($propertyName).value)
125 125   #set($value = $theDocObj.getProperty($propertyName).value)
... ... @@ -137,6 +137,7 @@
137 137   #if($item.type == "checkbox")
138 138   #set($value = "1")
139 139   #end
162 +*#
140 140   #if($item.type != "checkbox" && $item.type != "radio" && !$item.containsKey("disabled"))
141 141   #set($translatedProperties = {
142 142   'aria_label': 'data-aria-label',