=== added file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ajax/jsonProgramStages.vm' --- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ajax/jsonProgramStages.vm 1970-01-01 00:00:00 +0000 +++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ajax/jsonProgramStages.vm 2013-04-28 14:14:30 +0000 @@ -0,0 +1,10 @@ +#set( $size = $associations.size() ) +{ + "programStages": [ + #foreach( $association in $associations ) + { + "id": ${association.id} , + "name": "$!encoder.jsonEncode( ${association.displayName} )" + }#if( $velocityCount < $size ),#end + #end] +} \ No newline at end of file