=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-organisationunit/src/main/webapp/dhis-web-maintenance-organisationunit/organisationUnit.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-organisationunit/src/main/webapp/dhis-web-maintenance-organisationunit/organisationUnit.vm 2014-07-29 12:54:22 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-organisationunit/src/main/webapp/dhis-web-maintenance-organisationunit/organisationUnit.vm 2014-10-15 12:19:54 +0000
@@ -1,17 +1,17 @@
-
-
-
-
-
+
+
+
+
+
-
- $i18n.getString( "name" ) |
-
+
+ $i18n.getString( "name" ) |
+
-
- #foreach( $organisationUnit in $organisationUnits )
-
- $encoder.htmlEncode( $!organisationUnit.displayName ) |
-
- #end
-
- #if ( $organisationUnits.size() == 0 )
-
- $i18n.getString( "this_org_unit_has_no_children" ) |
-
- #end
-
-
- #parse( "/dhis-web-commons/paging/paging.vm" )
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- |
-
+ #if( $organisationUnits.size() > 0 )
+
+ #foreach( $organisationUnit in $organisationUnits )
+
+ $encoder.htmlEncode( $!organisationUnit.displayName ) |
+
+ #end
+ #else ## Mock table contents and display no-children message in single row
+
+
+ $i18n.getString( "this_org_unit_has_no_children" ) |
+
+
+ #end
+
+
+ #parse( "/dhis-web-commons/paging/paging.vm" )
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+