← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 10527: Minor fix for dashboard ui

 

------------------------------------------------------------
revno: 10527
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2013-04-12 15:41:57 +0700
message:
  Minor fix for dashboard ui
modified:
  dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/visitSchedule.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/visitSchedule.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/visitSchedule.vm	2013-04-12 08:25:43 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/visitSchedule.vm	2013-04-12 08:41:57 +0000
@@ -76,16 +76,21 @@
 	</tr>
 </table>
 
-
-<table>
-	#foreach($sms in $programInstance.outboundSms)
-		<tr id="tr${sms.id}" >
-		<td>- ( $format.formatDateTime($!sms.date) - $encoder.htmlEncode($sms.sender) )</td>
-		<td>$encoder.htmlEncode($sms.message)</td>
-	#end
-</table>
-
-	
+#if( $programInstance.outboundSms.size() > 0 )
+	<table>
+		<tr>
+			<td><span class="commentHeader">$i18n.getString('message')</span><td>
+		</tr>
+		#foreach($sms in $programInstance.outboundSms)
+			<tr>
+				<td>
+				($format.formatDateTime($!sms.date) - $encoder.htmlEncode($sms.sender) )
+				$encoder.htmlEncode($sms.message)</td>
+			</tr>
+		#end
+	</table>
+#end
+
 #if( $programStageInstances.size() > 0 )
 	<table class='mainPageTable listTable' id='progarmStageListDiv' name='progarmStageListDiv' >
 		<colgroup>