Changes for page homeopathsSheet

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

From version 1.109
edited by Jip-jan Alunkel
on March 08, 15:36
Change comment: There is no comment for this version
To version 1.105
edited by Jip-jan Alunkel
on March 08, 15:34
Change comment: There is no comment for this version

Summary

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">&times;</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,7 +115,9 @@
115 115  
116 116   #if($theDocObj.getProperty($key))
117 117   #set($value = $theDocObj.getProperty($key).value)
118 - #if(!$value)
97 + #if(!$value.isEmpty())
98 +
99 + #else
119 119   #set($value = "1")
120 120   #end
121 121   $key : $value<br />
... ... @@ -141,12 +141,13 @@
141 141   #if($propertyParent)
142 142   #set($lastChild = $key)
143 143   #elseif($lastChild != "")
144 - #createExpandEnd()
125 +## #createExpandEnd()
145 145   #end
146 - #createFormElement($newElem)
127 +## #createFormElement($newElem)
147 147   #if($propertyOpener)
148 - #createExpandStart($newElem $newElem["value"])
129 +## #createExpandStart($newElem $newElem["value"])
149 149   #end
131 +##$theDocObj.getProperty("certification").value <br />
150 150   #end
151 151  
152 152  #*
... ... @@ -164,7 +164,31 @@
164 164  *#
165 165  
166 166  #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">&times;</span>
167 + </button>
167 167   </div>
169 + <div class="modal-body">
170 + #foreach($obj in $thisObj)
171 + #createFormElement($obj)
172 + #end
173 + </div>
168 168   <div class="modal-footer">
169 169   <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
170 170   #createSubmit($submit)