Remove container usage tab and replace with changlog view

Fixes #179
This commit is contained in:
Joseph Schorr 2015-06-28 08:27:39 +03:00
parent cea4ad2d85
commit b8c74bbb17
6 changed files with 28 additions and 56 deletions

View file

@ -26,7 +26,7 @@
$scope.logsCounter = 0;
$scope.newUser = {};
$scope.createdUser = null;
$scope.systemUsage = null;
$scope.changeLog = null;
$scope.debugServices = null;
$scope.debugLogs = null;
$scope.pollChannel = null;
@ -89,12 +89,12 @@
}, ApiService.errorDisplay('Cannot load system logs. Please contact support.'))
};
$scope.getUsage = function() {
if ($scope.systemUsage) { return; }
$scope.getChangeLog = function() {
if ($scope.changeLog) { return; }
ApiService.getSystemUsage().then(function(resp) {
$scope.systemUsage = resp;
}, ApiService.errorDisplay('Cannot load system usage. Please contact support.'))
ApiService.getChangeLog().then(function(resp) {
$scope.changeLog = resp;
}, ApiService.errorDisplay('Cannot load change log. Please contact support.'))
}
$scope.loadUsageLogs = function() {