1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 13:29:41 +02:00

Add changes to container display

This commit is contained in:
Michael Crosby 2013-06-08 15:50:42 -09:00
parent 6853a9cefa
commit 353751ea4e
5 changed files with 41 additions and 4 deletions

View file

@ -96,11 +96,20 @@ var ContainerController = (function (_super) {
$scope.remove = function () {
return _this.remove($scope, $routeParams, Container);
};
$scope.changes = [];
$scope.getChanges = function () {
Container.changes({
id: $routeParams.id
}, function (d) {
$scope.changes = d;
});
};
Container.get({
id: $routeParams.id
}, function (d) {
$scope.container = d;
});
$scope.getChanges();
}
return ContainerController;
})(ContainerControllerBase);