mirror of
https://github.com/getredash/redash.git
synced 2025-12-25 01:03:20 -05:00
Display name to be delete
This commit is contained in:
@@ -57,7 +57,7 @@ function DataSourceCtrl(
|
||||
};
|
||||
|
||||
const title = 'Delete Data source';
|
||||
const message = 'Are you sure you want to delete this data source?';
|
||||
const message = `Are you sure you want to delete {${$scope.dataSource.name}} data source?`;
|
||||
const confirm = { class: 'btn-warning', title: 'Delete' };
|
||||
|
||||
AlertDialog.open(title, message, confirm).then(doDelete, callback);
|
||||
|
||||
@@ -46,7 +46,7 @@ function DestinationCtrl(
|
||||
};
|
||||
|
||||
const title = 'Delete Destination';
|
||||
const message = 'Are you sure you want to delete this destination?';
|
||||
const message = `Are you sure you want to delete {${$scope.destination.name}} destination?`;
|
||||
const confirm = { class: 'btn-warning', title: 'Delete' };
|
||||
|
||||
AlertDialog.open(title, message, confirm).then(doDelete);
|
||||
|
||||
@@ -41,7 +41,7 @@ function SnippetCtrl($routeParams, $http, $location, toastr, currentUser, AlertD
|
||||
};
|
||||
|
||||
const title = 'Delete Snippet';
|
||||
const message = 'Are you sure you want to delete this snippet?';
|
||||
const message = `Are you sure you want to delete {${this.snippet.trigger}} snippet?`;
|
||||
const confirm = { class: 'btn-warning', title: 'Delete' };
|
||||
|
||||
AlertDialog.open(title, message, confirm).then(doDelete);
|
||||
|
||||
Reference in New Issue
Block a user