[ https://issues.apache.org/jira/browse/CLOUDSTACK-9655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15731168#comment-15731168 ]
ASF GitHub Bot commented on CLOUDSTACK-9655: -------------------------------------------- Github user rhtyd commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1818#discussion_r91448021 --- Diff: ui/scripts/templates.js --- @@ -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 'This is a cross zone template and will be deleted from all the zones. Are you sure you want to proceed?'; --- End diff -- @karuturi can you add this to a new dictionary, in messages.properties etc so this can be translated in other languages? > The template which is registered in all zones will be deleted by deleting 1 > template on any zone > ------------------------------------------------------------------------------------------------ > > Key: CLOUDSTACK-9655 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9655 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: UI > Reporter: Rajani Karuturi > Assignee: Rajani Karuturi > > for a crosszone template, trying to delete a copy of it in one zone will > delete it from all the zones without showing any warning in UI. -- This message was sent by Atlassian JIRA (v6.3.4#6332)