mirror of
https://github.com/portainer/portainer.git
synced 2025-08-08 15:25:22 +02:00
parent
c3ce4d8b53
commit
7bd971f838
65 changed files with 115 additions and 92 deletions
|
@ -883,7 +883,7 @@ angular.module('portainer.docker').controller('CreateContainerController', [
|
|||
} else {
|
||||
await ContainerService.updateLimits($transition$.params().from, config);
|
||||
$scope.config = config;
|
||||
Notifications.success('Limits updated');
|
||||
Notifications.success('Success', 'Limits updated');
|
||||
}
|
||||
} catch (err) {
|
||||
Notifications.error('Failure', err, 'Update Limits fail');
|
||||
|
@ -1090,7 +1090,7 @@ angular.module('portainer.docker').controller('CreateContainerController', [
|
|||
}
|
||||
|
||||
function onSuccess() {
|
||||
Notifications.success('Container successfully created');
|
||||
Notifications.success('Success', 'Container successfully created');
|
||||
$state.go('docker.containers', {}, { reload: true });
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue