← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 8414: Small change details of event in Program summary report

 

------------------------------------------------------------
revno: 8414
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Sun 2012-10-07 10:12:47 +0700
message:
  Small change details of event in Program summary report
modified:
  dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/report.js
  dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programStageInstanceFlow.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/javascript/report.js'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/report.js	2012-10-06 15:55:56 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/report.js	2012-10-07 03:12:47 +0000
@@ -42,7 +42,7 @@
 			hideById('inputCriteriaDiv');
 			
 			var programStageInstance = jQuery("#ps_" + programStageInstanceId);
-			var header = "<h4>" + i18n_records_for + " " + programStageInstance.attr("orgunit")
+			var header = "<h4>" + i18n_records_for + " " + getInnerHTML( 'org_' + programStageInstanceId )
 					+ " " + i18n_at + " " + programStageInstance.attr("psname")
 					+ " " + i18n_on_date + " " + programStageInstance.attr("reportDate") + "</h4><hr>";
 			setInnerHTML('patientInforTB', header );

=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programStageInstanceFlow.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programStageInstanceFlow.vm	2012-10-05 08:12:39 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programStageInstanceFlow.vm	2012-10-07 03:12:47 +0000
@@ -14,7 +14,7 @@
 							#if($!programStageInstance.executionDate)
 								#set($valueDate=$format.formatDate( $programStageInstance.executionDate ))
 							#end
-							<div class="orgunit-object" id="org_$!programStageInstance.id">&nbsp;$!programStageInstance.organisationUnit.name</div>
+							<div class="orgunit-object" id="org_$!programStageInstance.id">$!programStageInstance.organisationUnit.name</div>
 							<input type="button" name="programStageBtn"
 								id="ps_$!programStageInstance.id"
 								name="ps_$!programStageInstance.id"