1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

development: Split Sunstone button instantiate and create for templates

This commit is contained in:
juanmont 2018-12-20 11:49:18 +01:00 committed by Ruben S. Montero
parent 44ac352713
commit 4a62a082f4
2 changed files with 5 additions and 7 deletions

View File

@ -43,9 +43,9 @@ define(function(require) {
text: Locale.tr("Update")
},
"Template.instantiate_vms" : {
type: "create_dialog",
type: "action",
text: Locale.tr("Instantiate"),
layout: "create_flatten"
layout: "main"
},
"Template.chown" : {
type: "confirm_with_select",

View File

@ -26,9 +26,7 @@ define(function(require) {
},
"VNTemplate.create_dialog" : {
type: "create_dialog",
text: Locale.tr("Create"),
layout: "create_flatten",
custom_classes: "only-sunstone-list"
layout: "create"
},
"VNTemplate.update_dialog" : {
type: "action",
@ -36,9 +34,9 @@ define(function(require) {
text: Locale.tr("Update")
},
"VNTemplate.instantiate_vnets" : {
type: "create_dialog",
type: "action",
text: Locale.tr("Instantiate"),
layout: "create_flatten"
layout: "main"
},
"VNTemplate.addtocluster" : {
type : "action",