← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 14808: Remove required validator in code field in Add/Update program-indicator.

 

------------------------------------------------------------
revno: 14808
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Sat 2014-04-12 17:30:32 +0800
message:
  Remove required validator in code field in Add/Update program-indicator.
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/addProgramIndicator.vm
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/updateProgramIndicator.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-program/src/main/webapp/dhis-web-maintenance-program/addProgramIndicator.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/addProgramIndicator.vm	2014-03-25 07:10:25 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/addProgramIndicator.vm	2014-04-12 09:30:32 +0000
@@ -34,8 +34,8 @@
 			<td></td>
 		</tr>	
 		<tr>
-			<td><label>$i18n.getString( "code" ) <em title="$i18n.getString( "required" )" class="required">*</em></label></td>
-			<td><input style="width: 330px;" type="text" id="code" name="code" class="{validate:{required:true,minlength:2}}"></td>
+			<td><label>$i18n.getString( "code" ) </label></td>
+			<td><input style="width: 330px;" type="text" id="code" name="code" class="{validate:{minlength:2}}"></td>
 			<td></td>
 		</tr>	
 		<tr>

=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/updateProgramIndicator.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/updateProgramIndicator.vm	2014-02-10 10:37:03 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/updateProgramIndicator.vm	2014-04-12 09:30:32 +0000
@@ -34,8 +34,8 @@
 		<td></td>
 	</tr>	
 	<tr>
-		<td><label>$i18n.getString( "code" ) <em title="$i18n.getString( "required" )" class="required">*</em></label></td>
-		<td><input style="width: 330px;" type="text" id="code" name="code" class="{validate:{required:true,minlength:2}}" value='$programIndicator.code'></td>
+		<td><label>$i18n.getString( "code" )</label></td>
+		<td><input style="width: 330px;" type="text" id="code" name="code" class="{validate:{minlength:2}}" value='$programIndicator.code'></td>
 		<td></td>
 	</tr>	
 	<tr>