← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 10241: Fix bug - Don't display incompleted sign for events in anonymous management.

 

------------------------------------------------------------
revno: 10241
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2013-03-15 14:39:27 +0700
message:
  Fix bug - Don't display incompleted sign for events in anonymous management.
modified:
  dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programStageInstancesList.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/programStageInstancesList.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programStageInstancesList.vm	2013-03-14 05:03:19 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programStageInstancesList.vm	2013-03-15 07:39:27 +0000
@@ -49,7 +49,7 @@
 							#foreach( $col in $row )
 								#if( $index == 0 )
 									#set($psid = $col)
-								#elseif($velocityCount == $noCols - 1)
+								#elseif($velocityCount == $noHeader - 1 )
 									#set($completed = $col)
 								#elseif( $index == 1 
 									|| ( $index > 2 && $index < $noHeader - 2 ))
@@ -58,7 +58,7 @@
 								#set($index = $index + 1)
 							#end
 							
-							<td align='right'>
+							<td align='right' style='padding-right:20px;'>
 								#if($completed=='false')<span class="incomplete-record" title="$i18n.getString('incomplete')">&nbsp;!&nbsp;</span>#end
 								<a href="javascript:showUpdateEvent( $psid )" title='$i18n.getString( "data_entry" )'><img src="images/data_entry.png" alt='$i18n.getString( "data_entry" )'></a>
 								<a href="javascript:removeEvent( $psid )" title='$i18n.getString( "remove" )'><img src="../images/delete.png" alt='$i18n.getString( "remove" )'></a>