← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 9256: Minor fix to send message screen

 

------------------------------------------------------------
revno: 9256
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2012-12-10 19:41:55 +0100
message:
  Minor fix to send message screen
modified:
  dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/sendMessage.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-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/sendMessage.vm'
--- dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/sendMessage.vm	2012-12-05 21:22:13 +0000
+++ dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/sendMessage.vm	2012-12-10 18:41:55 +0000
@@ -6,6 +6,7 @@
 
 jQuery(function() {
 #if( !${recipient} )
+    $('#toUser').show();
     $('#recipients').select2({
        placeholder: i18n_select_users_and_user_groups,
        minimumInputLength: 1,
@@ -48,7 +49,7 @@
 #end
 
 <tr>
-<td style="width:80px">$i18n.getString( "to_user" )</td>
+<td style="width:80px"><label id="toUser" style="display:none">$i18n.getString( "to_user" )</label></td>
 <td>
 <input type="hidden" name="recipients" id="recipients" style="width:545px; padding:4px; border:1px solid grey;"/>
 </td>
@@ -57,12 +58,12 @@
 <tr><td colspan="2" style="height:1px"></td></tr>
 
 <tr>
-<td>$i18n.getString( "subject" )</td>
+<td><label>$i18n.getString( "subject" )</label></td>
 <td><input type="text" id="subject" name="subject" style="width:619px;"></td>
 </tr>
 
 <tr>
-<td>$i18n.getString( "text" )</td>
+<td>label>$i18n.getString( "text" )</label></td>
 <td><textarea id="text" name="text" style="width:619px; height:220px;"></textarea></td>
 </tr>