Changes for page homeopathsSheet
Last modified by Jip-jan Alunkel on March 26, 17:31
From version 1.119
edited by Jip-jan Alunkel
on March 08, 15:46
on March 08, 15:46
Change comment:
There is no comment for this version
To version 1.111
edited by Jip-jan Alunkel
on March 08, 15:39
on March 08, 15:39
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -36,10 +36,10 @@ 36 36 #set($classProperties = [ 37 37 {'practiceName': {'type': 'text'}}, 38 38 {'pmStreet': {'type': 'text'}}, 39 - {'pmHousenumber': {'type': 'text'}}, 39 + {'pmHousenumber': {'type': 'text', 'parent': 'certification'}}, 40 40 {'pmPostcode': {'type': 'text'}}, 41 41 {'pmCity': {'type': 'text'}}, 42 - {'pmCounty': {'type': 'text'}}, 42 + {'pmCounty': {'type': 'text', 'parent': 'certification'}}, 43 43 {'pmState': {'type': 'text'}}, 44 44 {'pmCountry': {'type': 'text'}}, 45 45 {'certification': {'type': 'checkbox', 'opener': 1}}, ... ... @@ -118,6 +118,7 @@ 118 118 #if(!$value) 119 119 #set($value = "1") 120 120 #end 121 +## $key : $value<br /> 121 121 #set($newElem = { 122 122 "id" : "$key", 123 123 "type" : $propertyType, ... ... @@ -138,7 +138,7 @@ 138 138 #set($discard = $newElem.put("data-opener", "true")) 139 139 #end 140 140 #if($propertyParent) 141 - #set($lastChild = "$key")142 + #set($lastChild = $key) 142 142 #elseif($lastChild != "") 143 143 #set($lastChild = "") 144 144 #createExpandEnd() ... ... @@ -148,6 +148,21 @@ 148 148 #createExpandStart($newElem $newElem["value"]) 149 149 #end 150 150 #end 152 + 153 +#* 154 + #if($theDocObj.getProperty($property)) 155 + <p class="property"> 156 + #if($theDocObj.getProperty($property).value != "" && $property != "pmHousenumber") ## Difference with added housenumber because of the streetaddress layout. 157 + #if($property == "pmStreet") ## Difference with added housenumber because of the streetaddress layout. 158 + <span class="property-name">$services.localization.render("homeopaths.classproperty.address")</span> <span class="property-value">$doc.display($property) $doc.display("pmHousenumber")</span> 159 + #else 160 + <span class="property-name">$services.localization.render("homeopaths.classproperty.${property}")</span> <span class="property-value">$doc.display($property)</span> 161 + #end 162 + </p> 163 + #end 164 + #end 165 +*# 166 + 151 151 #end 152 152 </div> 153 153 <div class="modal-footer">