dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #25223
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12449: Minor
------------------------------------------------------------
revno: 12449
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Sun 2013-10-06 21:54:35 +0200
message:
Minor
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/mapping/MapView.java
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/login.css
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/login.vm
dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/java/org/hisp/dhis/dashboard/interpretation/action/GetInterpretationsAction.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-api/src/main/java/org/hisp/dhis/mapping/MapView.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/mapping/MapView.java 2013-10-06 14:12:02 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/mapping/MapView.java 2013-10-06 19:54:35 +0000
@@ -31,6 +31,7 @@
import static org.hisp.dhis.common.DimensionalObject.ORGUNIT_DIM_ID;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.Date;
import java.util.List;
@@ -65,12 +66,12 @@
extends BaseAnalyticalObject
{
public static final String LAYER_BOUNDARY = "boundary";
+ public static final String LAYER_FACILITY = "facility";
+ public static final String LAYER_SYMBOL = "symbol";
public static final String LAYER_THEMATIC1 = "thematic1";
public static final String LAYER_THEMATIC2 = "thematic2";
public static final String LAYER_THEMATIC3 = "thematic3";
public static final String LAYER_THEMATIC4 = "thematic4";
- public static final String LAYER_FACILITY = "facility";
- public static final String LAYER_SYMBOL = "symbol";
public static final String VALUE_TYPE_INDICATOR = "indicator";
public static final String VALUE_TYPE_DATAELEMENT = "dataelement";
@@ -78,8 +79,9 @@
public static final String LEGEND_TYPE_AUTOMATIC = "automatic";
public static final String LEGEND_TYPE_PREDEFINED = "predefined";
- private static final long serialVersionUID = 1866358818802275436L;
-
+ public static final List<String> DATA_LAYERS = Arrays.asList(
+ LAYER_THEMATIC1, LAYER_THEMATIC2, LAYER_THEMATIC3, LAYER_THEMATIC4 );
+
private String layer;
private String valueType;
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/login.css'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/login.css 2013-10-06 10:15:09 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/login.css 2013-10-06 19:54:35 +0000
@@ -106,9 +106,10 @@
border-width: 1px;
border-color: #D0D0D0;
padding: 11px;
- margin: 20px 1286px5px 0 40px;
+ margin: 20px 0;
display: block;
- width: 100%;
+ width: auto;
+ text-align: center;
border-radius: 2px;
}
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/login.vm'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/login.vm 2013-10-06 08:43:45 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/login.vm 2013-10-06 19:54:35 +0000
@@ -49,7 +49,7 @@
</div>
</form>
#if( $failed == true )
- <span id="loginMessage">Wrong username or password</span>
+ <div id="loginMessage">Wrong username or password</div>
#end
#if ( $keyApplicationNotification )
<div id="notificationArea">$!{keyApplicationNotification}</div>
=== modified file 'dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/java/org/hisp/dhis/dashboard/interpretation/action/GetInterpretationsAction.java'
--- dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/java/org/hisp/dhis/dashboard/interpretation/action/GetInterpretationsAction.java 2013-10-03 14:24:37 +0000
+++ dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/java/org/hisp/dhis/dashboard/interpretation/action/GetInterpretationsAction.java 2013-10-06 19:54:35 +0000
@@ -30,11 +30,8 @@
import java.util.List;
-import org.apache.commons.lang3.StringUtils;
import org.hisp.dhis.interpretation.Interpretation;
import org.hisp.dhis.interpretation.InterpretationService;
-import org.hisp.dhis.user.User;
-import org.hisp.dhis.user.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import com.opensymphony.xwork2.Action;