← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1933: Add small icon instead of the clear-expression button - Improve validation rules

 

------------------------------------------------------------
revno: 1933
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: trunk
timestamp: Tue 2010-06-01 09:38:30 +0700
message:
  Add small icon instead of the clear-expression button - Improve validation rules
added:
  dhis-2/dhis-web/dhis-web-validationrule/src/main/webapp/dhis-web-validationrule/images/edit-clear.png
modified:
  dhis-2/dhis-web/dhis-web-validationrule/src/main/webapp/dhis-web-validationrule/addValidationRuleForm.vm
  dhis-2/dhis-web/dhis-web-validationrule/src/main/webapp/dhis-web-validationrule/updateValidationRuleForm.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-validationrule/src/main/webapp/dhis-web-validationrule/addValidationRuleForm.vm'
--- dhis-2/dhis-web/dhis-web-validationrule/src/main/webapp/dhis-web-validationrule/addValidationRuleForm.vm	2010-05-28 19:17:07 +0000
+++ dhis-2/dhis-web/dhis-web-validationrule/src/main/webapp/dhis-web-validationrule/addValidationRuleForm.vm	2010-06-01 02:38:30 +0000
@@ -54,7 +54,7 @@
              		 <option value="$periodType.name" #if( $periodType.name.equals($monthlyPeriodTypeName ) ) selected #end>$i18n.getString($periodType.name)</option>
             		#end						
 			</select>
-			<input type='button' value='...' title="$i18n.getString('clear_expression')" onclick='setNullExpression();' style='width: 20px;'/>
+			<img title="$i18n.getString('clear_expression')" onclick='setNullExpression();' src='images/edit-clear.png' style='width: 20px;cursor:pointer' />
 		</td>
 	</tr>
 	<tr>

=== added file 'dhis-2/dhis-web/dhis-web-validationrule/src/main/webapp/dhis-web-validationrule/images/edit-clear.png'
Binary files dhis-2/dhis-web/dhis-web-validationrule/src/main/webapp/dhis-web-validationrule/images/edit-clear.png	1970-01-01 00:00:00 +0000 and dhis-2/dhis-web/dhis-web-validationrule/src/main/webapp/dhis-web-validationrule/images/edit-clear.png	2010-06-01 02:38:30 +0000 differ
=== modified file 'dhis-2/dhis-web/dhis-web-validationrule/src/main/webapp/dhis-web-validationrule/updateValidationRuleForm.vm'
--- dhis-2/dhis-web/dhis-web-validationrule/src/main/webapp/dhis-web-validationrule/updateValidationRuleForm.vm	2010-05-28 19:17:07 +0000
+++ dhis-2/dhis-web/dhis-web-validationrule/src/main/webapp/dhis-web-validationrule/updateValidationRuleForm.vm	2010-06-01 02:38:30 +0000
@@ -55,7 +55,7 @@
              		 <option value="$periodType.name" #if( $validationRule.periodType.name.equals($periodType.name ) ) selected #end>$i18n.getString($periodType.name)</option>
             		#end						
 			</select>
-			<input type='button' value='...' title="$i18n.getString('clear_expression')" onclick='setNullExpression();' style='width: 20px;'/>
+			<img title="$i18n.getString('clear_expression')" onclick='setNullExpression();' src='images/edit-clear.png' style='width: 20px;cursor:pointer' />
 		</td>
 	</tr>
 	<tr>