← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 11937: Fixed bug - Rename All to No program in custom registration management form.

 

------------------------------------------------------------
revno: 11937
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2013-09-06 01:46:04 +0700
message:
  Fixed bug - Rename All to No program in custom registration management form.
modified:
  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/webapp/dhis-web-maintenance-patient/patientRegistrationForm.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-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	2013-09-05 17:59:57 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/resources/org/hisp/dhis/patient/i18n_module.properties	2013-09-05 18:46:04 +0000
@@ -457,3 +457,4 @@
 relationship_type = Relationship type
 relationship_details = Relationship details
 program_related = Program related
+no_program = No program
\ No newline at end of file

=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/patientRegistrationForm.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/patientRegistrationForm.vm	2013-09-05 18:40:38 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/patientRegistrationForm.vm	2013-09-05 18:46:04 +0000
@@ -32,7 +32,7 @@
 						#if($registrationForm.program)
 							$encoder.htmlEncode( $registrationForm.program.name )
 						#else
-							$i18n.getString('all')
+							$i18n.getString('no_program')
 							#set($hasCommonForm = 'true')
 						#end	
 					</td>  
@@ -86,7 +86,7 @@
 				#end
 				#if($hasCommonForm=='false')
 				 <tr id="tr${registrationForm.id}">
-					<td>$i18n.getString('all')</td>  
+					<td>$i18n.getString('no_program')</td>  
 					<td>[$i18n.getString('none')]</td>  
 					<td>[$i18n.getString('none')]</td> 					
 					<td style="text-align:center">