← Back to team overview

dhis2-devs team mailing list archive

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

 

------------------------------------------------------------
revno: 8010
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2012-09-06 17:29:48 +0700
message:
  Minor fix.
modified:
  dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programTrackingList.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/programTrackingList.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programTrackingList.vm	2012-09-06 09:44:43 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programTrackingList.vm	2012-09-06 10:29:48 +0000
@@ -96,10 +96,10 @@
 				#set($index = 0)
 				#set( $mark = false )
 				#foreach( $comment in $comments )
-					#if( $index < 1 )
+					#if( $index < 5 )
 						<tr id="comment_$comment.id" #alternate($mark)>
 							<td>$format.formatDate($comment.createdDate)</td>
-							<td> $programStageInstance.programStage.name</td>
+							<td>$programStageInstance.programStage.name</td>
 							<td>$comment.creator - $comment.commentText</td>
 							#set($index = $index + 1)
 							#set( $mark = !$mark)
@@ -109,9 +109,8 @@
 			</tbody>	
 			
 			<tbody id='smsManagementList'>
-				  #set( $mark = false )
 				  #foreach( $sms in $outboundSms )
-					#if( $index < 1 )
+					#if( $index < 5 )
 						<tr id="tr${sms.id}" #alternate($mark) >
 							<td>$format.formatDate($!sms.date)</td>
 							<td> $programStageInstance.programStage.name</td>
@@ -124,7 +123,7 @@
 			
 			<tbody id='moreComments' class='hidden'>
 				#foreach( $comment in $comments )
-					#if( $index >= 1 )
+					#if( $index >= 5 )
 						<tr id="comment_$comment.id" #alternate($mark)>
 							<td>$format.formatDate($comment.createdDate)</td>
 							<td> $programStageInstance.programStage.name</td>
@@ -135,7 +134,7 @@
 				#end	
 				
 				#foreach( $sms in $outboundSms )
-					#if( $index >= 1 )
+					#if( $index >= 5 )
 						<tr id="tr${sms.id}" #alternate($mark) >
 							<td>$format.formatDate($!sms.date)</td>
 							<td>$programStageInstance.programStage.name</td>