=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/schema/descriptors/ConstantSchemaDescriptor.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/schema/descriptors/ConstantSchemaDescriptor.java 2015-04-29 07:11:23 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/schema/descriptors/ConstantSchemaDescriptor.java 2015-05-26 04:17:38 +0000
@@ -53,6 +53,7 @@
{
Schema schema = new Schema( Constant.class, SINGULAR, PLURAL );
schema.setRelativeApiEndpoint( API_ENDPOINT );
+ schema.setShareable( true );
schema.setOrder( 1030 );
schema.getAuthorities().add( new Authority( AuthorityType.CREATE, Lists.newArrayList( "F_CONSTANT_ADD" ) ) );
=== modified file 'dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/constant/hibernate/Constant.hbm.xml'
--- dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/constant/hibernate/Constant.hbm.xml 2015-05-21 13:11:27 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/constant/hibernate/Constant.hbm.xml 2015-05-26 04:17:38 +0000
@@ -20,8 +20,19 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/webapp/dhis-web-maintenance-dataadmin/constant.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/webapp/dhis-web-maintenance-dataadmin/constant.vm 2015-05-21 13:11:27 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/webapp/dhis-web-maintenance-dataadmin/constant.vm 2015-05-26 04:17:38 +0000
@@ -1,12 +1,15 @@
+
+#sharingDialog()
+
@@ -15,61 +18,62 @@
-
-
-
-
-
+
+
+
+
+
-
- $i18n.getString( "name" ) |
-
-
-
- #foreach( $constant in $constants )
-
-
- $encoder.htmlEncode( $!constant.displayName )
- |
-
- #end
-
-
-
- #parse( "/dhis-web-commons/paging/paging.vm" )
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- |
-
+
+ $i18n.getString( "name" ) |
+
+
+
+ #foreach( $constant in $constants )
+
+ $encoder.htmlEncode( $!constant.displayName ) |
+
+ #end
+
+
+
+ #parse( "/dhis-web-commons/paging/paging.vm" )
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+