dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #14471
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4926: (mobile) do not show optioncombo.name when there is only the default optioncombo
------------------------------------------------------------
revno: 4926
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2011-10-13 12:58:53 +0200
message:
(mobile) do not show optioncombo.name when there is only the default optioncombo
modified:
dhis-2/dhis-web/dhis-web-light/src/main/webapp/dhis-web-light/dataEntry.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-light/src/main/webapp/dhis-web-light/dataEntry.vm'
--- dhis-2/dhis-web/dhis-web-light/src/main/webapp/dhis-web-light/dataEntry.vm 2011-10-12 21:13:24 +0000
+++ dhis-2/dhis-web/dhis-web-light/src/main/webapp/dhis-web-light/dataEntry.vm 2011-10-13 10:58:53 +0000
@@ -28,7 +28,7 @@
#foreach( $dataElement in $dataElements)
#foreach( $optionCombo in $dataElement.categoryCombo.optionCombos )
#set( $key = "DE${dataElement.id}OC${optionCombo.id}" )
- <label>$dataElement.name $optionCombo.name</label>
+ <label>$dataElement.name #if($dataElement.categoryCombo.optionCombos.size > 1)$optionCombo.name#end</label>
#if( $validationViolations.get( $key ) )
#set( $validationViolation = $validationViolations.get( $key ) )