← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 11132: Minor fix.

 

------------------------------------------------------------
revno: 11132
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2013-06-03 13:15:53 +0700
message:
  Minor fix.
modified:
  dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programTrackingRecords.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/programTrackingRecords.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programTrackingRecords.vm	2013-05-29 08:36:29 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programTrackingRecords.vm	2013-06-03 06:15:53 +0000
@@ -6,6 +6,7 @@
 	</tr>
 </table>
 
+#set($noPatient=0)
 #if( $programStageInstances && $programStageInstances.size()>0 )
 
 <table class='listTable gridTable'>
@@ -22,7 +23,6 @@
 		</tr>
 	</thead>
 	<tbody id="list">
-	#set($noPatient=0)
 	#set($patientId='')
 	#set($count=1)
 	#set($class='listRow')
@@ -113,6 +113,6 @@
 	var i18n_patient = '$encoder.jsEscape( $i18n.getString( "patient" ) , "'")';
 	var i18n_with = '$encoder.jsEscape( $i18n.getString( "with" ) , "'")';
 	var i18n_events = '$encoder.jsEscape( $i18n.getString( "status_events" ) , "'")';
-	var totalHeader = $noPatient + " " + i18n_patient + " " + i18n_with + " " + jQuery('#statusEvent option:selected').text() + " " + i18n_events
+	var totalHeader = '$!noPatient' + " " + i18n_patient + " " + i18n_with + " " + jQuery('#statusEvent option:selected').text() + " " + i18n_events
 	setInnerHTML('totalTd', totalHeader);
 </script>