dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #27379
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 13625: Hide Other attribute group name if no any attributes without group in Add/Update patient form.
------------------------------------------------------------
revno: 13625
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2014-01-08 00:10:17 +0700
message:
Hide Other attribute group name if no any attributes without group in Add/Update patient form.
modified:
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/patientForm.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-caseentry/src/main/webapp/dhis-web-caseentry/patientForm.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/patientForm.vm 2014-01-06 15:31:51 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/patientForm.vm 2014-01-07 17:10:17 +0000
@@ -85,7 +85,7 @@
<!-- ATTRIBUTES -->
#set($attributes = $attributesMap.get(""))
- #if ($!attributes)
+ #if ($!attributes.size() > 0)
<tr><th colspan="2" class="heading-column">$i18n.getString( "other_details" )</th></tr>
#foreach($attribute in $attributes )
#set( $attributeValue = "" )