Merge release branch 4.9 to master

* 4.9:
  CLOUDSTACK-9655 The template which is registered in all zones will be deleted by deleting 1 template on any zone
This commit is contained in:
Rajani Karuturi 2017-02-16 10:39:12 +05:30
commit 60fd7292da
1 changed files with 5 additions and 1 deletions

View File

@ -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';