← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 7978: Remove the un-enroll button into program-management div.

 

------------------------------------------------------------
revno: 7978
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2012-08-29 14:30:55 +0700
message:
  Remove the un-enroll button into program-management div.
modified:
  dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programEnrollmentSelectForm.vm
  dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/smsReminderList.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/programEnrollmentSelectForm.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programEnrollmentSelectForm.vm	2012-08-28 05:48:46 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programEnrollmentSelectForm.vm	2012-08-29 07:30:55 +0000
@@ -45,7 +45,7 @@
 			<td></td>
 			<td colspan='2'>
 				<input type="button" id='enrollBtn' name='enrollBtn' class='button' value="$i18n.getString( 'enroll' )" onclick='saveEnrollment()'/>
-				<input type="button" id='unenrollBtn' name='unenrollBtn' class='button' value="$i18n.getString( 'unenroll' )" onclick='unenrollmentForm()'/>
+				<input type="button" id='cancelBtn' name='cancelBtn' class='button' value="$i18n.getString( 'cancel' )" onclick="jQuery('#enrollmentDiv').dialog('close')"/>
 			</td>
 		</tr>
 		<tr>

=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/smsReminderList.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/smsReminderList.vm	2012-08-21 13:51:07 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/smsReminderList.vm	2012-08-29 07:30:55 +0000
@@ -23,14 +23,10 @@
 		<td colspan='2'>
 			<div class="comment-table" style='max-height:150px;'>
 				<table id='commentTB'>
-					#if( $comments.size() > 0 )
-						#foreach( $comment in $comments )
-							<tr id="comment_$comment.id">
-								<td>$format.formatDate($comment.createdDate) - $comment.creator - $comment.commentText</td>
-							</tr>
-						#end
-					#else
-						<tr><td>$i18n.getString("no_comment")</td></tr>
+					#foreach( $comment in $comments )
+						<tr id="comment_$comment.id">
+							<td>$format.formatDate($comment.createdDate) - $comment.creator - $comment.commentText</td>
+						</tr>
 					#end
 				</table>
 			</div>