From ef97c118c8b57af6e05733bb7a0e1ef4cdf45e00 Mon Sep 17 00:00:00 2001 From: Hector Sanjuan Date: Tue, 27 Mar 2012 16:19:41 +0200 Subject: [PATCH] Sunstone: hide manual disk and network addition when creating vm templates --- src/sunstone/public/js/plugins/hosts-tab.js | 4 ---- .../public/js/plugins/templates-tab.js | 21 ++++++++++++++----- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/src/sunstone/public/js/plugins/hosts-tab.js b/src/sunstone/public/js/plugins/hosts-tab.js index 147e793ef5..dd4423c77a 100644 --- a/src/sunstone/public/js/plugins/hosts-tab.js +++ b/src/sunstone/public/js/plugins/hosts-tab.js @@ -499,10 +499,6 @@ function updateHostInfo(request,host){ '+ tr("VN MAD") +'\ '+host_info.VN_MAD+'\ \ - \ - '+ tr("TM MAD") +'\ - '+host_info.TM_MAD+'\ - \ \ \ \ diff --git a/src/sunstone/public/js/plugins/templates-tab.js b/src/sunstone/public/js/plugins/templates-tab.js index f7496b0892..59d7165900 100644 --- a/src/sunstone/public/js/plugins/templates-tab.js +++ b/src/sunstone/public/js/plugins/templates-tab.js @@ -186,7 +186,7 @@ var create_template_tmpl = '
\

'+tr("Add disks/images")+'

\
\
'+tr("Disks")+'\ -
\ +