1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-22 23:09:41 +02:00

fix(toast): update styles and custom button (#7450)

EE-3829
This commit is contained in:
Ali 2022-08-10 17:07:35 +12:00 committed by GitHub
parent c3ce4d8b53
commit 7bd971f838
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
65 changed files with 115 additions and 92 deletions

View file

@ -290,7 +290,7 @@ angular.module('portainer.docker').controller('ContainerController', [
function removeContainer(cleanAssociatedVolumes) {
ContainerService.remove($scope.container, cleanAssociatedVolumes)
.then(function success() {
Notifications.success('Container successfully removed');
Notifications.success('Success', 'Container successfully removed');
$state.go('docker.containers', {}, { reload: true });
})
.catch(function error(err) {
@ -380,7 +380,7 @@ angular.module('portainer.docker').controller('ContainerController', [
}
function notifyAndChangeView() {
Notifications.success('Container successfully re-created');
Notifications.success('Success', 'Container successfully re-created');
$state.go('docker.containers', {}, { reload: true });
}
@ -414,7 +414,7 @@ angular.module('portainer.docker').controller('ContainerController', [
Name: restartPolicy,
MaximumRetryCount: maximumRetryCount,
};
Notifications.success('Restart policy updated');
Notifications.success('Success', 'Restart policy updated');
}
function notifyOnError(err) {