← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 9303: Don't display periods without any datavalue after to run Manual person aggregation function.

 

------------------------------------------------------------
revno: 9303
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2012-12-13 20:33:20 +0700
message:
  Don't display periods without any datavalue after to run Manual person aggregation function.
modified:
  dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/caseAggregationResult.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/caseAggregationResult.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/caseAggregationResult.vm	2012-12-07 13:55:41 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/caseAggregationResult.vm	2012-12-13 13:33:20 +0000
@@ -17,8 +17,8 @@
 			#set( $periodDiv = $periodInfo + "-div")
 			#set( $key = $orgunit.id + '-' + $format.formatPeriod($period) )
 			
-			<h4>$format.formatPeriod( $period )
 			#if( $!mapDataValues.get( $key ) )
+				<h4>$format.formatPeriod( $period )
 				<img id='$periodButton' src="../images/down.png" onclick="toggleResult('$periodInfo');" style="cursor: pointer;"></h4>
 			
 				#set( $dataValues = $mapDataValues.get( $key ) )