1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Bug #4646: Fix missing option in generic confirm dialog

This commit is contained in:
Carlos Martín 2016-07-18 17:02:36 +02:00
parent 7396b6d1ed
commit d0f29f2099
3 changed files with 3 additions and 0 deletions

View File

@ -91,6 +91,7 @@ define(function(require) {
} else {
Sunstone.getDialog(CONFIRM_DIALOG_ID).setParams({
header : Locale.tr("Error"),
headerTabId: TAB_ID,
body : Locale.tr("This Image resides in Datastore ") +
img.DATASTORE_ID + " (" + img.DATASTORE + ")" +
Locale.tr(". The export action is not supported for that Datastore DS_MAD driver."),

View File

@ -123,6 +123,7 @@ define(function(require) {
if (zone != config.zone_id){
Sunstone.getDialog(CONFIRM_DIALOG_ID).setParams({
header : Locale.tr("Error"),
headerTabId: TAB_ID,
body : Locale.tr(
"This MarketPlace App resides in Zone ") +
zone + " (" + OpenNebula.Zone.getName(zone) + ")" +

View File

@ -51,6 +51,7 @@ define(function(require) {
call: function() {
Sunstone.getDialog(CONFIRM_DIALOG_ID).setParams({
//header :
headerTabId: TAB_ID,
body : Locale.tr("This will delete the Template.<br/>You can also delete any Image referenced inside this Template"),
//question :
buttons : [