Changes for page homeopathsSheet

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

From version 1.11
edited by Jip-jan Alunkel
on March 07, 17:48
Change comment: There is no comment for this version
To version 1.14
edited by Jip-jan Alunkel
on March 07, 17:55
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -31,7 +31,7 @@
31 31  #if($xcontext.action == "view")
32 32  <div id="${spaceTitle}" class="box sheet_properties">
33 33   <h2>Details</h2>
34 -#set($classProperties = ['pmCountry','pmState','pmCounty','pmPostcode','pmCity','pmStreet','pmHousenumber'])
34 +#set($classProperties = ['pmPractice','pmStreet','pmHousenumber','pmPostcode','pmCity','pmCountry','pmState','pmCounty'])
35 35  #*
36 36  {
37 37   'pmCountry': '$services.localization.render("homeopaths.pmCountry")',
... ... @@ -44,16 +44,12 @@
44 44  })
45 45  *#
46 46  #foreach($property in $classProperties)
47 - $services.localization.render("homeopaths.classproperty.${property}")
48 -#end
49 -## <div id="non_free_occupation">
47 + #if($theDocObj.getProperty($property).value != "")
50 50   <p class="property">
51 - <span class="property-name">Medical degree mandatory</span> <span class="property-value">$doc.display('non_free_occupation')</span>
49 + <span class="property-name">$services.localization.render("homeopaths.classproperty.${property}")</span> <span class="property-value">$doc.display($property)</span>
52 52   </p>
53 - <p class="help-block">
54 - Countries over the world have different rules regarding the neccessity of a medical degree to practice homeopathy.
55 - </p>
56 -## </div>
51 + #end
52 +#end
57 57  
58 58   #if($hasRight)
59 59   <p class="buttons text-align-right">