← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4697: Monor fix.

 

------------------------------------------------------------
revno: 4697
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2011-09-27 14:13:26 +0700
message:
  Monor fix.
modified:
  dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/patientRegistrationList.vm


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/patientRegistrationList.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/patientRegistrationList.vm	2011-09-14 06:36:13 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/patientRegistrationList.vm	2011-09-27 07:13:26 +0000
@@ -68,7 +68,13 @@
 				
 				#foreach( $attribute in $patientAttributes )
 					#set ( $key = $patient.id + '-' + $attribute.id )
-					<td>$mapPatientPatientAttr.get($key)</td>
+					<td>
+						#if( $attribute.valueType == 'YES/NO')
+							$i18n.getString( $mapPatientPatientAttr.get($key) )
+						#else
+							$mapPatientPatientAttr.get($key)
+						#end
+					</td>
 				#end
 					
 				<td>$!patient.getFullName()</td>