dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #14267
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4789: Added missing files.
------------------------------------------------------------
revno: 4789
committer: Hieu <hieu.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Sun 2011-10-02 16:55:51 +0700
message:
Added missing files.
added:
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ajax/jsonPatientAttributeGroups.vm
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ajax/jsonPatientAttributes.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/jsonPatientAttributeGroups.vm'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ajax/jsonPatientAttributeGroups.vm 1970-01-01 00:00:00 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ajax/jsonPatientAttributeGroups.vm 2011-10-02 09:55:51 +0000
@@ -0,0 +1,10 @@
+#set( $size = ${patientAttributeGroups.size} )
+{ "patientAttributeGroups": [
+ #foreach( ${group} in $!{patientAttributeGroups} )
+ {
+ "id": "${group.id}",
+ "name": "$!encoder.jsonEncode( ${group.name} )"
+ }#if( $velocityCount < $size ),#end
+ #end
+ ]
+}
\ No newline at end of file
=== added file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ajax/jsonPatientAttributes.vm'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ajax/jsonPatientAttributes.vm 1970-01-01 00:00:00 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ajax/jsonPatientAttributes.vm 2011-10-02 09:55:51 +0000
@@ -0,0 +1,10 @@
+#set( $size = $!{patientAttributes.size()} )
+{ "patientAttributes": [
+ #foreach( $patientAttribute in $!{patientAttributes} )
+ {
+ "id": "${patientAttribute.id}",
+ "name": "$!encoder.jsonEncode( ${patientAttribute.name} )"
+ }#if( $velocityCount < $size ),#end
+ #end
+ ]
+}
\ No newline at end of file