← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5978: (patient) Minor fix for relationship list form.

 

------------------------------------------------------------
revno: 5978
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2012-02-16 15:49:48 +0700
message:
  (patient) Minor fix for relationship list form.
modified:
  dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/relationshipList.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/relationshipList.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/relationshipList.vm	2012-02-01 09:10:08 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/relationshipList.vm	2012-02-16 08:49:48 +0000
@@ -30,7 +30,13 @@
 					#foreach( $patientAttributeValue in $patientAttributeValues )
 						<tr>
 							<td class="bold text-column">$encoder.htmlEncode( $patientAttributeValue.patientAttribute.name ):</td>
-							<td>$encoder.htmlEncode( $patientAttributeValue.value )</td>
+							<td>
+							#if( $patientAttributeValue.patientAttribute.valueType=="YES/NO")
+								$i18n.getString("$patientAttributeValue.value")
+							#else
+								$encoder.htmlEncode( $patientAttributeValue.value )
+							#end
+							</td>
 						</tr>
 					#end                         
 				</table>