Changes for page homeopathsSheet

Last modified by Jip-jan Alunkel on May 08, 19:25

From version 3.90
edited by Jip-jan Alunkel
on March 09, 19:08
Change comment: Rollback to version 1.38
To version 3.80
edited by Jip-jan Alunkel
on March 09, 17:37
Change comment: Rollback to version 1.38

Summary

Details

Page properties
Content
... ... @@ -99,8 +99,9 @@
99 99   </button>
100 100   </div>
101 101   <div class="modal-body">
102 - <div><address>bla</address></div>
103 - #createAddress($theClass 1)
102 + <fieldset class="fieldset">
103 + #createAddress($theClass)
104 + </fieldset>
104 104   #set($lastChild = "")
105 105   #foreach($propertyName in $classProperties.keySet())
106 106   #set($item = $classProperties["$propertyName"])
... ... @@ -189,11 +189,14 @@
189 189   #end
190 190  #else
191 191   <p>
192 - This page can not be viewed in inline mode. [[Back>>$doc.fullName]]
193 + This page can not be viewed in inline mode. [[Back>>$doc.fullName()]]
193 193   </p>
194 194  #end
195 -#macro(createAddress $className $withLabel)
196 +
197 +#macro(createAddress $className)
196 196   #set($docObj = $doc.getObject($className))
199 + <address>
200 + $doc.getTitle()<br />
197 197   #set($addressArray = ['pmStreet','pmHousenumber','pmPostcode','pmCity','pmState','pmCounty','pmCountry'])
198 198   #set($x = {})
199 199   #foreach($datapart in $addressArray)
... ... @@ -205,18 +205,11 @@
205 205   #set($discard = $x.put("$datapart", $datapart4Publish))
206 206   #end
207 207   #end
208 - <p>
209 - #if($withLabel)
210 - <label>$services.localization.render("homeopaths.classproperty.pmAddress")</label>
211 - #end
212 - <address>
213 - $doc.getTitle()<br />
214 - $x['pmStreet'] $x['pmHousenumber']<br />
215 - $x['pmPostcode'] $x['pmCity']<br />
216 - $x['pmCounty'] $x['pmState']<br />
217 - $x['pmCountry']
218 - </address>
219 - </p>
212 + $x['pmStreet'] $x['pmHousenumber']<br />
213 + $x['pmPostcode'] $x['pmCity']<br />
214 + $x['pmCounty'] $x['pmState']<br />
215 + $x['pmCountry']
216 + </address>
220 220  #end
221 221  {{/html}}
222 222  {{/velocity}}