dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #15473
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5618: Don't display tabs when loading under-age form.
------------------------------------------------------------
revno: 5618
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2011-12-27 13:23:35 +0700
message:
Don't display tabs when loading under-age form.
modified:
dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/org/hisp/dhis/caseentry/i18n_module.properties
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/resultSearchPatients.vm
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/underAgeForm.vm
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/updatePatientForm.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/resources/org/hisp/dhis/caseentry/i18n_module.properties'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/org/hisp/dhis/caseentry/i18n_module.properties 2011-12-25 14:37:14 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/org/hisp/dhis/caseentry/i18n_module.properties 2011-12-27 06:23:35 +0000
@@ -453,3 +453,4 @@
delete_current_event_success=Delete current event successfully
please_enter_report_date = Please enter report date
comfirm_delete_current_event = Are you sure you want to delete the current event ?
+registered_by_orgunit = Registered by facility
\ No newline at end of file
=== 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 2011-10-29 14:16:54 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/patientForm.vm 2011-12-27 06:23:35 +0000
@@ -160,7 +160,7 @@
<!-- ATTRIBUTES NOT IN GROUPS -->
<tr><td> </td></tr>
-#if ( $noGroupAttributes.size() > 0)
+#if ( $noGroupAttributes && $noGroupAttributes.size() > 0)
<tr><th colspan="2" class="heading-column">$i18n.getString( "other_details" )</th></tr>
#foreach($attribute in $noGroupAttributes )
<tr>
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/resultSearchPatients.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/resultSearchPatients.vm 2011-09-30 08:37:26 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/resultSearchPatients.vm 2011-12-27 06:23:35 +0000
@@ -15,7 +15,7 @@
<th>$i18n.getString( "gender" )</th>
<th>$i18n.getString( "dob_type" )</th>
<th>$i18n.getString( "date_of_birth" )</th>
- <th>$i18n.getString( "orgunit" )</th>
+ <th>$i18n.getString( "registered_by_orgunit" )</th>
</tr></thead>
<tbody>
#set($mark = false)
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/underAgeForm.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/underAgeForm.vm 2011-09-29 04:50:21 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/underAgeForm.vm 2011-12-27 06:23:35 +0000
@@ -53,7 +53,7 @@
<!-- Search Person TAB -->
<div id="tab-1">
- <form id="searchForm" name="searchForm" action="searchPerson.action" action="post" >
+ <form id="searchForm" name="searchForm" action="searchPerson.action" method="post" >
<table>
<tr>
<td >$i18n.getString("relationship_type")<em title="$i18n.getString( "required" )" class="required">*</em></td>
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/updatePatientForm.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/updatePatientForm.vm 2011-12-06 17:41:41 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/updatePatientForm.vm 2011-12-27 06:23:35 +0000
@@ -229,7 +229,7 @@
<!-- ATTRIBUTES NOT IN GROUPS -->
- #if ( $noGroupAttributes.size() > 0)
+ #if ( $noGroupAttributes && $noGroupAttributes.size() > 0)
<tr><th colspan="2" class="heading-column">$i18n.getString( "Other details" )</th></tr>
#foreach($attribute in $noGroupAttributes )
#set( $attributeValue = "" )