← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4809: Move the Single-event field to right under Description in add and update program screen.

 

------------------------------------------------------------
revno: 4809
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2011-10-04 09:19:13 +0700
message:
  Move the Single-event field to right under Description in add and update program screen.
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/addProgramForm.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-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/addProgramForm.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/addProgramForm.vm	2011-09-29 04:17:34 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/addProgramForm.vm	2011-10-04 02:19:13 +0000
@@ -1,4 +1,4 @@
-<script>
+ <script>
 	jQuery(document).ready(	function(){
 		validation( 'addProgramForm', function( form ){			
 			form.submit();
@@ -28,7 +28,10 @@
 		
 		<tr>
 			<td><label>$i18n.getString( "description" ) <em title="$i18n.getString( "required" )" class="required">*</em></label></td>
-			<td><input type="text" id="description" name="description" style="width:30em" class="{validate:{required:true,minlength:4}}"></td>
+			<td>
+				<input type="text" id="description" name="description" style="width:23em" class="{validate:{required:true,minlength:4}}">
+				<label>$i18n.getString( "single_event" )</label><input type="checkbox" id="singleEvent" name="singleEvent" value='true'>
+			</td>
 			<td></td>
 		</tr>	
 		
@@ -51,12 +54,6 @@
 		</tr>	
 		
 		<tr>
-			<td><label>$i18n.getString( "single_event" )</label></td>
-			<td><input type="checkbox" id="singleEvent" name="singleEvent" value='true'></td>
-			<td></td>
-		</tr>
-		
-		<tr>
 			<td colspan="2" style="height:15px"></td>
 		</tr>
 	</tbody>