diff --git a/src/sunstone/public/js/plugins/templates-tab.js b/src/sunstone/public/js/plugins/templates-tab.js index 7f97573447..0c2ad5cbb8 100644 --- a/src/sunstone/public/js/plugins/templates-tab.js +++ b/src/sunstone/public/js/plugins/templates-tab.js @@ -923,9 +923,8 @@ function popUpTemplateRmattrDialog(){ function updateTemplateInfo(request,template){ var template_info = template.VMTEMPLATE; var info_tab = { - title: "Template information", - content: - '\ + title: "Information", + content: '
\ \ \ \ @@ -945,16 +944,20 @@ function updateTemplateInfo(request,template){ \ \ \ -
Template "'+template_info.NAME+'" information
Public'+(parseInt(template_info.PUBLIC) ? "yes" : "no")+'
\ - \ - '+ - prettyPrintJSON(template_info.TEMPLATE)+ - '
Template
' - } - - + ' + }; + var template_tab = { + title: "Template", + content: '\ + '+ + prettyPrintJSON(template_info.TEMPLATE)+ + '
Template
' + }; + + Sunstone.updateInfoPanelTab("template_info_panel","template_info_tab",info_tab); - + Sunstone.updateInfoPanelTab("template_info_panel","template_template_tab",template_tab); + Sunstone.popUpInfoPanel("template_info_panel"); }