=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/patientDashboard.vm' --- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/patientDashboard.vm 2013-05-06 07:12:06 +0000 +++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/patientDashboard.vm 2013-05-06 09:00:15 +0000 @@ -124,7 +124,14 @@ #end #set($flag = 'false') + #set($messages = "") #foreach( $programStageInstance in $programInstance.programStageInstances ) + + #foreach( $comment in $programStageInstance.patientComments ) + #set($messages = $messages + $format.formatDateTime($comment.createdDate) + ' ' + $comment.creator + ' ' + $comment.commentText + '
' ) + #set( $mark = !$mark ) + #end + #set( $status = $programStageInstance.getEventStatus() ) #if( $status!=1 && $status!=5 && $flag=='false') #end + + + #if($messages!='') + $messages + #end + #end === modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/visitSchedule.vm' --- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/visitSchedule.vm 2013-04-18 09:56:44 +0000 +++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/visitSchedule.vm 2013-05-06 09:00:15 +0000 @@ -69,11 +69,11 @@ - $i18n.getString( "stored_by" ) + $i18n.getString( "stored_by" ): $!encoder.htmlEncode( $programInstance.patientComment.creator ) - $i18n.getString( "stored_date" ) + $i18n.getString( "stored_date" ): $!format.formatDate( $programInstance.patientComment.createdDate )