← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 10704: Add missing file.

 

------------------------------------------------------------
revno: 10704
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Sun 2013-04-28 21:14:30 +0700
message:
  Add missing file.
added:
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ajax/jsonProgramStages.vm


--
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
=== 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