=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/eventMessage.vm' --- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/eventMessage.vm 2014-06-12 07:02:29 +0000 +++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/eventMessage.vm 2014-07-08 05:38:53 +0000 @@ -19,16 +19,16 @@ #set( $mark = false ) - #if($programInstance.comment) + #foreach($comment in $programInstance.comments) - $format.formatDateTime($programInstance.comment.createdDate) + $format.formatDateTime($comment.createdDate) $i18n.getString('all') - $programInstance.comment.creator + $comment.creator $i18n.getString('comment') - $programInstance.comment.commentText + $comment.commentText - $i18n.getString( 'remove' ) + $i18n.getString( 'remove' ) #end @@ -62,14 +62,14 @@ #end #foreach($programStageInstance in $programStageInstances) - #if( $programStageInstance.comment ) + #foreach( $comment in $programStageInstance.comments ) - $format.formatDateTime($programStageInstance.comment.createdDate) + $format.formatDateTime($comment.createdDate) $programStageInstance.programStage.displayName - $programStageInstance.comment.creator + $comment.creator $i18n.getString('comment') - $programStageInstance.comment.commentText + $comment.commentText $i18n.getString( 'remove' )