Feature #4734: Display VR VM Template name in instantiate

This commit is contained in:
Carlos Martín committed 2016-08-26 16:10:00 +02:00
1 parent e95328a516
commit 349e15c01b
3 files changed
+6 -3

No files matched your search

@@ -192,6 +192,8 @@ define(function(require) {
inputs_div,
template_json,
{text_header: '<i class="fa fa-gears"></i> '+Locale.tr("Custom Attributes")});
$("span.template_name", context).text(template_json.VMTEMPLATE.NAME);
},
error: Notifier.onError
});
@@ -14,10 +14,10 @@
{{! limitations under the License. }}
{{! -------------------------------------------------------------------------- }}
<fieldset class="table_wrapper" style="display:none">
<fieldset>
<legend>{{tr "Template"}}</legend>
<div class="row selectTemplateTable">
</div>
<div class="table_wrapper row selectTemplateTable" style="display:none"/>
<p class="no_table_wrapper">{{tr "You selected the following Template:"}} <span class="template_name"/></p>
</fieldset>
<div class="row nameContainer">
<div class="medium-4 columns">
@@ -84,6 +84,7 @@ define(function(require) {
$(".selectTemplateTable", context).html(this.templatesTable.dataTableHTML);
$(".table_wrapper", context).show();
$(".no_table_wrapper", context).hide();
this.templatesTable.initialize();