ux(): update all confirm modals to new design

This commit is contained in:
Torkel Ödegaard
2016-03-04 20:56:53 +01:00
parent ad6837ee47
commit fcd75422d5
14 changed files with 79 additions and 73 deletions

View File

@@ -37,10 +37,10 @@ export class DataSourcesCtrl {
removeDataSource(ds) {
this.$scope.appEvent('confirm-modal', {
title: 'Confirm delete datasource',
title: 'Delete',
text: 'Are you sure you want to delete datasource ' + ds.name + '?',
yesText: "Delete",
icon: "fa-warning",
icon: "fa-trash",
onConfirm: () => {
this.removeDataSourceConfirmed(ds);
}