← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4693: Show Yes/No values insteads of True/False value in Details patient.

 

------------------------------------------------------------
revno: 4693
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2011-09-27 11:19:31 +0700
message:
  Show Yes/No values insteads of True/False value in Details patient.
modified:
  dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/org/hisp/dhis/caseentry/i18n_module.properties
  dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/detailsPatient.vm
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/resources/org/hisp/dhis/patient/i18n_module.properties


--
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/resources/org/hisp/dhis/caseentry/i18n_module.properties'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/org/hisp/dhis/caseentry/i18n_module.properties	2011-09-14 06:36:13 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/org/hisp/dhis/caseentry/i18n_module.properties	2011-09-27 04:19:31 +0000
@@ -423,4 +423,5 @@
 relationship_management 										= Manage Relationship
 save_success 													= Save successfully
 yes_and_attribute 												= Yes and Inherit Attribute
-identifiers														= Identifiers
\ No newline at end of file
+identifiers														= Identifiers
+relationship_type												= Relationship Type
\ No newline at end of file

=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/detailsPatient.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/detailsPatient.vm	2011-09-14 06:36:13 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/detailsPatient.vm	2011-09-27 04:19:31 +0000
@@ -60,7 +60,11 @@
 		#if( $patientAttributeValueMap.get( $attribute.id ) != " " )
 		<tr>
 			<td><label><strong>$attribute.name : </strong></label>
-				$patientAttributeValueMap.get( $attribute.id )
+				#if($attribute.valueType=="YES/NO")
+					$i18n.getString( $patientAttributeValueMap.get( $attribute.id ) )
+				#else
+					$patientAttributeValueMap.get( $attribute.id )
+				#end
 			</td>
 		</tr>
 		#end

=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/resources/org/hisp/dhis/patient/i18n_module.properties'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/resources/org/hisp/dhis/patient/i18n_module.properties	2011-09-22 05:46:07 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/resources/org/hisp/dhis/patient/i18n_module.properties	2011-09-27 04:19:31 +0000
@@ -376,4 +376,6 @@
 single_event = Single event
 paitents_and_programs = Beneficiaries and Programs
 gender = Gender
-dob_type = DOB Type
\ No newline at end of file
+dob_type = DOB Type
+dateOfEnrollmentDescription = Description of enrollment date
+dateOfIncidentDescription  = Description of incident date 
\ No newline at end of file