From 2a56f64d931b60e78d3b09877ff84bf12f0b5207 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Mon, 23 Dec 2013 11:33:39 -0800 Subject: [PATCH] CLOUDSTACK-5606: UI > Copy Template action, Copy ISO action is now availble to region-wide secondary storage (S3, Swift). --- ui/scripts/templates.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ui/scripts/templates.js b/ui/scripts/templates.js index abadee8ec3b..286ee262439 100644 --- a/ui/scripts/templates.js +++ b/ui/scripts/templates.js @@ -1812,9 +1812,12 @@ } else { allowedActions.push("edit"); + allowedActions.push("copyTemplate"); + /* if(g_regionsecondaryenabled != true) { allowedActions.push("copyTemplate"); } + */ //allowedActions.push("createVm"); // For Beta2, this simply doesn't work without a network. } @@ -1850,9 +1853,12 @@ } else { allowedActions.push("edit"); + allowedActions.push("copyISO"); + /* if(g_regionsecondaryenabled != true) { allowedActions.push("copyISO"); } + */ } // "Create VM"