mirror of https://github.com/apache/cloudstack.git
Merge pull request #1818 from Accelerite/CLOUDSTACK-9655
CLOUDSTACK-9655 The template which is registered in all zones will be deleted by deleting 1 template on any zoneadded extra warning message if it's a cross-zone template ("This is a
cross zone template and will be deleted from all the zones. Are you sure
you want to proceed?").
* pr/1818:
CLOUDSTACK-9655 The template which is registered in all zones will be deleted by deleting 1 template on any zone
Signed-off-by: Rajani Karuturi <rajani.karuturi@accelerite.com>
This commit is contained in:
commit
6dced70aa8
|
|
@ -1447,7 +1447,11 @@
|
|||
label: 'label.action.delete.template',
|
||||
messages: {
|
||||
confirm: function(args) {
|
||||
return 'message.action.delete.template';
|
||||
if(args.context.templates[0].crossZones == true) {
|
||||
return 'message.action.delete.template.for.all.zones';
|
||||
} else {
|
||||
return 'message.action.delete.template';
|
||||
}
|
||||
},
|
||||
notification: function(args) {
|
||||
return 'label.action.delete.template';
|
||||
|
|
|
|||
Loading…
Reference in New Issue