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