dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #37164
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 19011: Option set attribute, using please select for consistency
------------------------------------------------------------
revno: 19011
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2015-04-24 12:09:00 +0200
message:
Option set attribute, using please select for consistency
modified:
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/macros.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-commons-resources/src/main/webapp/macros.vm'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/macros.vm 2015-04-20 10:37:00 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/macros.vm 2015-04-24 10:09:00 +0000
@@ -284,7 +284,7 @@
<td>
<select id="$!args.id" name="$name">
#if( $args.mandatory != true )
- <option value="">---</option>
+ <option value="">[ $i18n.getString( "please_select" ) ]</option>
#end
#foreach( $choice in $args.attribute.optionSet.options )
<option value="$choice.code" #if( $args.value == $choice.code )selected="selected"#end>$choice.displayName</option>