← Back to team overview

dhis2-devs team mailing list archive

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

 

------------------------------------------------------------
revno: 6444
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2012-03-30 09:13:18 +0700
message:
  (patient) Minor fix for Enrollment form.
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/programEnrollmentSelectForm.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/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	2012-03-29 08:04:10 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/org/hisp/dhis/caseentry/i18n_module.properties	2012-03-30 02:13:18 +0000
@@ -292,7 +292,7 @@
 create = Create
 migration_patient = Migration Beneficiary
 patient_info = Beneficiary Information
-program_enrolled_for = Program Enrolled for
+program_enrolled_for = Program enrolled for
 identifier_and_attribute = Identifier/Attribute
 unenrollment = Un-Enrollment
 modify_due_date_or_visit_date = Modify Due/Visit dates

=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programEnrollmentSelectForm.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programEnrollmentSelectForm.vm	2012-03-29 08:04:10 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programEnrollmentSelectForm.vm	2012-03-30 02:13:18 +0000
@@ -15,7 +15,7 @@
 				<td class='bold text-column'>$i18n.getString( "date_of_birth" ):</td>
 				<td>$format.formatDate( $patient.birthDate ) $patient.getAge()</td>
 			</tr>
-			#if( $patient.programs)
+			#if( $patient.programs.size() > 0 )
 				<tr>
 					<td class='bold text-column'>$i18n.getString( "enrolled_for" ):</td>
 					#foreach( $program in $patient.programs )