cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seb...@apache.org
Subject [03/50] git commit: updated refs/heads/sdnextensions to bcfb4e6
Date Fri, 12 Jul 2013 07:50:58 GMT
CLOUDSTACK-2988: UI > templates menu > update template action - add Dynamically Scalable
field.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/8236e7b6
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/8236e7b6
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/8236e7b6

Branch: refs/heads/sdnextensions
Commit: 8236e7b63395e1c24b8f22443823f8bfe72af09b
Parents: ec42d72
Author: Jessica Wang <jessicawang@apache.org>
Authored: Wed Jul 10 14:15:33 2013 -0700
Committer: Jessica Wang <jessicawang@apache.org>
Committed: Wed Jul 10 14:15:33 2013 -0700

----------------------------------------------------------------------
 ui/scripts/templates.js | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8236e7b6/ui/scripts/templates.js
----------------------------------------------------------------------
diff --git a/ui/scripts/templates.js b/ui/scripts/templates.js
index 61a524e..dbb0083 100644
--- a/ui/scripts/templates.js
+++ b/ui/scripts/templates.js
@@ -433,7 +433,8 @@
 									  name: args.data.name,
 										displaytext: args.data.displaytext,
 										ostypeid: args.data.ostypeid,
-										passwordenabled: (args.data.passwordenabled=="on")										
+										passwordenabled: (args.data.passwordenabled=="on"),
+										isdynamicallyscalable: (args.data.isdynamicallyscalable=="on")
 									};	   
                   $.ajax({
                     url: createURL('updateTemplate'),
@@ -727,6 +728,12 @@
                       isEditable: true,
                       converter:cloudStack.converters.toBooleanText
                     },
+                    isdynamicallyscalable: {
+                      label: 'Dynamically Scalable',
+                      isBoolean: true,
+                      isEditable: true,
+                      converter:cloudStack.converters.toBooleanText
+                    },    
                     ispublic: {
                       label: 'label.public',
                       isBoolean: true,


Mime
View raw message