mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 11:52:37 +09:00
Feature #4734: Display VR VM Template name in instantiate
This commit is contained in:
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
|
||||
});
|
||||
|
||||
+3
-3
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user