dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #27443
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 13674: change default view of groups/members to basic (can be changed with viewClass=)
------------------------------------------------------------
revno: 13674
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2014-01-09 15:43:13 +0100
message:
change default view of groups/members to basic (can be changed with viewClass=)
modified:
dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/dataelement/DataElementGroupController.java
dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/indicator/IndicatorGroupController.java
dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/organisationunit/OrganisationUnitGroupController.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-api/src/main/java/org/hisp/dhis/api/controller/dataelement/DataElementGroupController.java'
--- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/dataelement/DataElementGroupController.java 2014-01-09 10:28:10 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/dataelement/DataElementGroupController.java 2014-01-09 14:43:13 +0000
@@ -100,7 +100,7 @@
}
model.addAttribute( "model", metaData );
- model.addAttribute( "viewClass", options.getViewClass( "detailed" ) );
+ model.addAttribute( "viewClass", options.getViewClass( "basic" ) );
return StringUtils.uncapitalize( getEntitySimpleName() );
}
@@ -139,7 +139,7 @@
}
model.addAttribute( "model", metaData );
- model.addAttribute( "viewClass", options.getViewClass( "detailed" ) );
+ model.addAttribute( "viewClass", options.getViewClass( "basic" ) );
return StringUtils.uncapitalize( getEntitySimpleName() );
}
=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/indicator/IndicatorGroupController.java'
--- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/indicator/IndicatorGroupController.java 2014-01-08 11:19:03 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/indicator/IndicatorGroupController.java 2014-01-09 14:43:13 +0000
@@ -92,7 +92,7 @@
}
model.addAttribute( "model", metaData );
- model.addAttribute( "viewClass", options.getViewClass( "detailed" ) );
+ model.addAttribute( "viewClass", options.getViewClass( "basic" ) );
return StringUtils.uncapitalize( getEntitySimpleName() );
}
=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/organisationunit/OrganisationUnitGroupController.java'
--- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/organisationunit/OrganisationUnitGroupController.java 2014-01-08 11:27:18 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/organisationunit/OrganisationUnitGroupController.java 2014-01-09 14:43:13 +0000
@@ -114,7 +114,7 @@
}
model.addAttribute( "model", metaData );
- model.addAttribute( "viewClass", options.getViewClass( "detailed" ) );
+ model.addAttribute( "viewClass", options.getViewClass( "basic" ) );
return StringUtils.uncapitalize( getEntitySimpleName() );
}