Modifiche per il documento homeopathsSheet
Ultima modifica di Jip-jan Alunkel il marzo 26, 17:31
Dalla versione 1.16
modificato da Jip-jan Alunkel
il marzo 07, 18:13
il marzo 07, 18:13
Cambia il commento:
Nessun commento per questa versione
Alla versione 1.17
modificato da Jip-jan Alunkel
il marzo 07, 18:23
il marzo 07, 18:23
Cambia il commento:
Nessun commento per questa versione
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -33,14 +33,13 @@ 33 33 <h2>Details</h2> 34 34 #set($classProperties = ['pmPractice','pmStreet','pmHousenumber','pmPostcode','pmCity','pmCounty','pmState','pmCountry']) 35 35 #foreach($property in $classProperties) 36 - #if($theDocObj.getProperty($property).value != "") 37 - #if($property == 'pmStreet') 38 - #set($translateKey = "homeopaths.classproperty.address") 36 + <p class="property"> 37 + #if($theDocObj.getProperty($property).value != "" && $property != "pmHousenumber") 38 + #if($property == "pmStreet") 39 + <span class="property-name">$services.localization.render("homeopaths.classproperty.address")</span> <span class="property-value">$doc.display($property) $doc.display("pmHousenumber")</span> 39 39 #else 40 - #set($translateKey ="homeopaths.classproperty.${property}")41 + <span class="property-name">$services.localization.render("homeopaths.classproperty.${property}")</span> <span class="property-value">$doc.display($property)</span> 41 41 #end 42 - <p class="property"> 43 - <span class="property-name">$services.localization.render($translateKey)</span> <span class="property-value">$doc.display($property)</span> 44 44 </p> 45 45 #end 46 46 #end