Changes for page homeopathsSheet
Last modified by Jip-jan Alunkel on March 26, 17:31
From version 1.112
edited by Jip-jan Alunkel
on March 08, 15:40
on March 08, 15:40
Change comment:
There is no comment for this version
To version 1.106
edited by Jip-jan Alunkel
on March 08, 15:35
on March 08, 15:35
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -79,27 +79,6 @@ 79 79 #end 80 80 ## #createElementObjects($nonChildren) 81 81 *# 82 - 83 - #set($submit = { 84 - "id" : "edit_details", 85 - "button-text" : "Save changes", 86 - "clean": "true", 87 - "help-block" : "" 88 - }) 89 - #set($form_end = { 90 - "use_captcha": "false" 91 - }) 92 -<div class="modal fade" id="detailsModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> 93 - <div class="modal-dialog modal-dialog-centered" role="document"> 94 - <div class="modal-content"> 95 - #createFormStart($form_start) 96 - <div class="modal-header"> 97 - <h3 class="modal-title">Details</h3> 98 - <button type="button" class="close" data-dismiss="modal" aria-label="Close"> 99 - <span aria-hidden="true">×</span> 100 - </button> 101 - </div> 102 - <div class="modal-body"> 103 103 #set($lastChild = "") 104 104 #foreach($property in $classProperties) 105 105 #foreach($item in $property.keySet()) ... ... @@ -115,10 +115,12 @@ 115 115 116 116 #if($theDocObj.getProperty($key)) 117 117 #set($value = $theDocObj.getProperty($key).value) 118 - #if(!$value) 97 + #if($value) 98 + 99 + #else 119 119 #set($value = "1") 120 120 #end 121 - ##$key : $value<br />102 + $key : $value<br /> 122 122 #set($newElem = { 123 123 "id" : "$key", 124 124 "type" : $propertyType, ... ... @@ -141,13 +141,13 @@ 141 141 #if($propertyParent) 142 142 #set($lastChild = $key) 143 143 #elseif($lastChild != "") 144 - #set($lastChild = "") 145 145 ## #createExpandEnd() 146 146 #end 147 - #createFormElement($newElem) 127 +## #createFormElement($newElem) 148 148 #if($propertyOpener) 149 149 ## #createExpandStart($newElem $newElem["value"]) 150 150 #end 131 +##$theDocObj.getProperty("certification").value <br /> 151 151 #end 152 152 153 153 #* ... ... @@ -165,7 +165,31 @@ 165 165 *# 166 166 167 167 #end 149 + 150 + #set($submit = { 151 + "id" : "edit_details", 152 + "button-text" : "Save changes", 153 + "clean": "true", 154 + "help-block" : "" 155 + }) 156 + #set($form_end = { 157 + "use_captcha": "false" 158 + }) 159 +<div class="modal fade" id="detailsModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> 160 + <div class="modal-dialog modal-dialog-centered" role="document"> 161 + <div class="modal-content"> 162 + #createFormStart($form_start) 163 + <div class="modal-header"> 164 + <h3 class="modal-title">Details</h3> 165 + <button type="button" class="close" data-dismiss="modal" aria-label="Close"> 166 + <span aria-hidden="true">×</span> 167 + </button> 168 168 </div> 169 + <div class="modal-body"> 170 + #foreach($obj in $thisObj) 171 + #createFormElement($obj) 172 + #end 173 + </div> 169 169 <div class="modal-footer"> 170 170 <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button> 171 171 #createSubmit($submit)