You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by je...@apache.org on 2013/07/10 23:16:25 UTC
git commit: updated refs/heads/master to 8236e7b
Updated Branches:
refs/heads/master ec42d7236 -> 8236e7b63
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/master
Commit: 8236e7b63395e1c24b8f22443823f8bfe72af09b
Parents: ec42d72
Author: Jessica Wang <je...@apache.org>
Authored: Wed Jul 10 14:15:33 2013 -0700
Committer: Jessica Wang <je...@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,