You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2013/10/24 20:31:04 UTC

[26/50] [abbrv] git commit: updated refs/heads/ui-restyle to 500c798

CLOUDSTACK-999: UI > Register Template > when hypervisor is selected as "Hyperv", format dropdown will have "VHD" option.


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

Branch: refs/heads/ui-restyle
Commit: 9f38614eb8eb48824d53d4e47abe4a1a381a5acb
Parents: 5133812
Author: Jessica Wang <je...@apache.org>
Authored: Wed Oct 23 13:18:18 2013 -0700
Committer: Jessica Wang <je...@apache.org>
Committed: Wed Oct 23 13:18:18 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/9f38614e/ui/scripts/templates.js
----------------------------------------------------------------------
diff --git a/ui/scripts/templates.js b/ui/scripts/templates.js
index 2fedd98..922c87e 100644
--- a/ui/scripts/templates.js
+++ b/ui/scripts/templates.js
@@ -379,6 +379,11 @@
                                                     id: 'TAR',
                                                     description: 'TAR'
                                                 });
+                                            } else if (args.hypervisor == "Hyperv") {
+                                            	items.push({
+                                                    id: 'VHD',
+                                                    description: 'VHD'
+                                                });
                                             }
                                             args.response.success({
                                                 data: items