dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #22512
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 10835: Minor fix.
------------------------------------------------------------
revno: 10835
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2013-05-14 22:07:58 +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 2013-05-14 13:45:36 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programTrackingList.vm 2013-05-14 15:07:58 +0000
@@ -141,13 +141,15 @@
<th>$i18n.getString( "message" )</th>
</tr>
<tbody id='commentTB' name='commentTB'>
+ #set( $mark = false )
#foreach( $comment in $comments )
- <tr id="comment_$comment.id">
+ <tr id="comment_$comment.id" #alternate( $mark )>
<td>$format.formatDateTime($comment.createdDate)</td>
<td>$encoder.htmlEncode($programStageInstance.programStage.displayName)</td>
<td>$encoder.htmlEncode($comment.creator)</td>
<td>$encoder.htmlEncode($comment.commentText)</td>
</tr>
+ #set( $mark = !$mark )
#end
</tbody>
</table>
@@ -168,13 +170,15 @@
<th>$i18n.getString( "message" )</th>
</tr>
<tbody id='messageTB' name='messageTB'>
+ #set( $mark = false )
#foreach( $sms in $outboundSms )
- <tr id="tr${sms.id}" >
+ <tr id="tr${sms.id}" #alternate( $mark )>
<td>$format.formatDateTime($!sms.date)</td>
<td>$encoder.htmlEncode($programStageInstance.programStage.displayName)</td>
<td>$encoder.htmlEncode($sms.sender)</td>
<td>$encoder.htmlEncode($sms.message)</td>
</tr>
+ #set( $mark = !$mark )
#end
</tbody>
</table>