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

Add container name to stats and top pages.

This commit is contained in:
Kevan Ahlquist 2016-02-15 23:34:55 -06:00
parent 49d4c5800f
commit b244242cb2
4 changed files with 40 additions and 18 deletions

View file

@ -172,5 +172,11 @@ angular.module('stats', [])
}
return cpuPercent;
}
Container.get({id: $routeParams.id}, function (d) {
$scope.containerName = d.Name.substring(1);
}, function (e) {
Messages.error("Failure", e.data);
});
}])
;