dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #14967
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5233: Fixed nasty bug for dashboard
------------------------------------------------------------
revno: 5233
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2011-11-29 13:01:04 +0100
message:
Fixed nasty bug for dashboard
modified:
dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/mainForm.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-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/mainForm.vm'
--- dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/mainForm.vm 2011-11-12 18:43:35 +0000
+++ dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/mainForm.vm 2011-11-29 12:01:04 +0000
@@ -65,13 +65,14 @@
#foreach( $chart in $chartAreas )
#set( $count0 = $velocityCount - 1 )
+#set( $count1 = $velocityCount )
#set( $startHr = ($count0 % $sizeHalf) == 0 )
#set( $endHr = ($count0 % $sizeHalf) == ($sizeHalf - 1) )
#if( $startHr )<tr> #end
<td style="width:305px; padding-left: 10px;">
- #dropDownButtonDiv( "chartDropDown${velocityCount}" "chartArea${velocityCount}" )
- #chartDropDownListDiv( "chartArea${velocityCount}" "chartDropDown${velocityCount}" $chart )
+ #dropDownButtonDiv( "chartDropDown${count1}" "chartArea${count1}" )
+ #chartDropDownListDiv( "chartArea${count1}" "chartDropDown${count1}" $chart )
</td>
#end
#if( $endHr )</tr> #end