Changes for page homeopathsSheet
Last modified by Jip-jan Alunkel on March 26, 17:31
From version 1.22
edited by Jip-jan Alunkel
on March 07, 19:10
on March 07, 19:10
Change comment:
There is no comment for this version
To version 1.18
edited by Jip-jan Alunkel
on March 07, 19:03
on March 07, 19:03
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -31,7 +31,7 @@ 31 31 #if($xcontext.action == "view") 32 32 <div id="${spaceTitle}" class="box sheet_properties"> 33 33 <h2>Details</h2> 34 -#set($classProperties = ['practiceName','pmStreet','pmHousenumber','pmPostcode','pmCity','pmCounty','pmState','pmCountry','certification', 'certificationFrom'])34 +#set($classProperties = ['practiceName','pmStreet','pmHousenumber','pmPostcode','pmCity','pmCounty','pmState','pmCountry','certification',]) 35 35 #foreach($property in $classProperties) 36 36 <p class="property"> 37 37 #if($theDocObj.getProperty($property).value != "" && $property != "pmHousenumber") ... ... @@ -60,17 +60,17 @@ 60 60 "url": "", 61 61 "use_captcha": "false" 62 62 }) 63 - #set($practiceName = { 63 + #set($practiceName = { 64 64 "id": "practiceName", 65 65 "type": "text", 66 66 "required" : "false", 67 - "label" : " Practice name",67 + "label" : "City", 68 68 "data-create-xobj" : "true", 69 69 "data-xobj-classname" : "homeopaths.Code.homeopathsClass", 70 - "data-xobj-fieldname" : "p racticeName",71 - "value": "$ doc.getTitle()"70 + "data-xobj-fieldname" : "pmCity", 71 + "value": "$theDocObj.getProperty('pmCity').value" 72 72 }) 73 - 73 + #set($city = { 74 74 "id": "city", 75 75 "type": "text", 76 76 "required" : "false", ... ... @@ -100,7 +100,6 @@ 100 100 </button> 101 101 </div> 102 102 <div class="modal-body"> 103 - #createFormElement($practiceName) 104 104 #createFormElement($city) 105 105 </div> 106 106 <div class="modal-footer">