dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #11622
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 3362: Minor fix
------------------------------------------------------------
revno: 3362
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2011-04-12 15:16:13 +0200
message:
Minor fix
modified:
dhis-2/dhis-web/dhis-web-mapping/src/main/java/org/hisp/dhis/mapping/action/ExportExcelAction.java
dhis-2/dhis-web/dhis-web-mapping/src/main/java/org/hisp/dhis/mapping/action/ExportImageAction.java
--
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-mapping/src/main/java/org/hisp/dhis/mapping/action/ExportExcelAction.java'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/java/org/hisp/dhis/mapping/action/ExportExcelAction.java 2011-04-03 10:19:50 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/java/org/hisp/dhis/mapping/action/ExportExcelAction.java 2011-04-12 13:16:13 +0000
@@ -338,6 +338,6 @@
@Override
protected String getFilename()
{
- return "dhis2_gis.xls";
+ return "DHIS_2_GIS.xls";
}
}
=== modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/java/org/hisp/dhis/mapping/action/ExportImageAction.java'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/java/org/hisp/dhis/mapping/action/ExportImageAction.java 2011-04-03 10:19:50 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/java/org/hisp/dhis/mapping/action/ExportImageAction.java 2011-04-12 13:16:13 +0000
@@ -37,6 +37,7 @@
import org.hisp.dhis.indicator.IndicatorService;
import org.hisp.dhis.mapping.export.SVGDocument;
import org.hisp.dhis.mapping.export.SVGUtils;
+import org.hisp.dhis.util.ContextUtils;
import org.hisp.dhis.util.SessionUtils;
import org.hisp.dhis.util.StreamActionSupport;
@@ -212,13 +213,13 @@
@Override
protected String getContentType()
{
- return "image/png";
+ return ContextUtils.CONTENT_TYPE_PNG;
}
@Override
protected String getFilename()
{
- return "dhis2_gis.png";
+ return "DHIS_2_GIS.png";
}
@Override