dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #15178
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5375: Defined redirect for api index action
------------------------------------------------------------
revno: 5375
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2011-12-12 20:10:59 +0100
message:
Defined redirect for api index action
modified:
dhis-2/dhis-web/dhis-web-api/src/main/resources/struts.xml
dhis-2/dhis-web/dhis-web-commons/src/main/resources/i18n_global.properties
--
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-api/src/main/resources/struts.xml'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/struts.xml 2011-12-12 11:18:21 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/struts.xml 2011-12-12 19:10:59 +0000
@@ -8,6 +8,7 @@
<package name="dhis-web-api" extends="dhis-web-commons" namespace="/dhis-web-api">
<action name="index" class="org.hisp.dhis.api.action.NoAction">
+ <result name="success" type="redirect">../api</result>
<param name="requiredAuthorities">F_WEBAPI_CREATE, F_WEBAPI_READ, F_WEBAPI_UPDATE, F_WEBAPI_DELETE</param>
</action>
=== modified file 'dhis-2/dhis-web/dhis-web-commons/src/main/resources/i18n_global.properties'
--- dhis-2/dhis-web/dhis-web-commons/src/main/resources/i18n_global.properties 2011-11-21 12:44:20 +0000
+++ dhis-2/dhis-web/dhis-web-commons/src/main/resources/i18n_global.properties 2011-12-12 19:10:59 +0000
@@ -68,6 +68,7 @@
dhis-web-validationrule-local-in = Validation Analysis
dhis-web-mapping = GIS
dhis-web-visualizer = Data Visualizer
+dhis-web-api = API
dhis-web-survey = Survey - Target
dhis-web-spreadsheet-reporting = Spreadsheet Reports
dhis-web-mobile = Mobiles
@@ -75,8 +76,6 @@
dhis-web-maintenance-in = Configuration
dhis-web-excelimport = Data Integration
dhis-web-linelisting-mp = Manpower
-patient_attribute_group = Beneficiary Attribute Group
-patient_attribute_group_management = Beneficiary Attribute Group Management
#-- Common ---------------------------------------------------------------------#