From 349e15c01bbecf99c1ee3d0792ffc86feec171c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Fri, 26 Aug 2016 16:10:00 +0200 Subject: [PATCH] Feature #4734: Display VR VM Template name in instantiate --- .../tabs/vrouter-templates-tab/form-panels/instantiate.js | 2 ++ .../form-panels/instantiate/templateSelection.hbs | 6 +++--- .../public/app/tabs/vrouters-tab/form-panels/create.js | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/sunstone/public/app/tabs/vrouter-templates-tab/form-panels/instantiate.js b/src/sunstone/public/app/tabs/vrouter-templates-tab/form-panels/instantiate.js index af529944ac..53e6194bcf 100644 --- a/src/sunstone/public/app/tabs/vrouter-templates-tab/form-panels/instantiate.js +++ b/src/sunstone/public/app/tabs/vrouter-templates-tab/form-panels/instantiate.js @@ -192,6 +192,8 @@ define(function(require) { inputs_div, template_json, {text_header: ' '+Locale.tr("Custom Attributes")}); + + $("span.template_name", context).text(template_json.VMTEMPLATE.NAME); }, error: Notifier.onError }); diff --git a/src/sunstone/public/app/tabs/vrouter-templates-tab/form-panels/instantiate/templateSelection.hbs b/src/sunstone/public/app/tabs/vrouter-templates-tab/form-panels/instantiate/templateSelection.hbs index b1c2ccf6c2..b8c019e17c 100644 --- a/src/sunstone/public/app/tabs/vrouter-templates-tab/form-panels/instantiate/templateSelection.hbs +++ b/src/sunstone/public/app/tabs/vrouter-templates-tab/form-panels/instantiate/templateSelection.hbs @@ -14,10 +14,10 @@ {{! limitations under the License. }} {{! -------------------------------------------------------------------------- }} -