dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #17964
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 7373: Add add-patient-button into person management.
------------------------------------------------------------
revno: 7373
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2012-06-25 11:46:52 +0700
message:
Add add-patient-button into person management.
modified:
dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/struts.xml
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/dataentryRecords.vm
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/select.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/struts.xml'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/struts.xml 2012-06-25 04:17:52 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/struts.xml 2012-06-25 04:46:52 +0000
@@ -117,6 +117,12 @@
<param name="requiredAuthorities">F_NAME_BASED_DATA_ENTRY</param>
</action>
+ <action name="anonymousPrograms"
+ class="org.hisp.dhis.caseentry.action.caseentry.LoadAnonymousProgramsAction">
+ <result name="success" type="velocity-json">/dhis-web-commons/ajax/jsonPrograms.vm</result>
+ <param name="requiredAuthorities">F_NAME_BASED_DATA_ENTRY</param>
+ </action>
+
<action name="createAnonymousEncounter"
class="org.hisp.dhis.caseentry.action.caseentry.CreateAnonymousEncounterAction">
<result name="success" type="velocity-json">
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/dataentryRecords.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/dataentryRecords.vm 2012-06-25 04:17:52 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/dataentryRecords.vm 2012-06-25 04:46:52 +0000
@@ -50,7 +50,7 @@
<div id="detailsInfo">
</div>
#else
- <h5>$i18n.getString('No person enrolled the program')</h5>
+ <h5>$i18n.getString('no_patient_enrolled_the_program')</h5>
#end
<script>
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/select.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/select.vm 2012-06-25 02:11:55 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/select.vm 2012-06-25 04:46:52 +0000
@@ -1,3 +1,9 @@
+<script type="text/javascript">
+ jQuery(document).ready( function(){
+ hideById('addPatientBtn');
+});
+</script>
+
<h3>$i18n.getString( "name_based_data_entry" ) #openHelp('name_based_data_entry')</h3>
<div id='searchDiv'>