diff --git a/static/js/app.js b/static/js/app.js index e2c1ff5aa..fe1719449 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -2223,7 +2223,7 @@ quayApp.directive('billingInvoices', function () { scope: { 'organization': '=organization', 'user': '=user', - 'visible': '=visible' + 'makevisible': '=makevisible' }, controller: function($scope, $element, $sce, ApiService) { $scope.loading = false; @@ -2238,7 +2238,7 @@ quayApp.directive('billingInvoices', function () { var hasValidOrg = !!$scope.organization; var isValid = hasValidUser || hasValidOrg; - if (!$scope.visible || !isValid) { + if (!$scope.makevisible || !isValid) { return; } @@ -2252,7 +2252,7 @@ quayApp.directive('billingInvoices', function () { $scope.$watch('organization', update); $scope.$watch('user', update); - $scope.$watch('visible', update); + $scope.$watch('makevisible', update); } }; @@ -2270,7 +2270,7 @@ quayApp.directive('logsView', function () { scope: { 'organization': '=organization', 'user': '=user', - 'visible': '=visible', + 'makevisible': '=makevisible', 'repository': '=repository', 'performer': '=performer' }, @@ -2444,7 +2444,7 @@ quayApp.directive('logsView', function () { var hasValidRepo = $scope.repository && $scope.repository.namespace; var isValid = hasValidUser || hasValidOrg || hasValidRepo; - if (!$scope.visible || !isValid) { + if (!$scope.makevisible || !isValid) { return; } @@ -2477,11 +2477,12 @@ quayApp.directive('logsView', function () { $scope.logsPath = '/api/v1/' + url; if (!$scope.chart) { + window.console.log('creating chart'); $scope.chart = new LogUsageChart(logKinds); $($scope.chart).bind('filteringChanged', function(e) { $scope.$apply(function() { $scope.kindsAllowed = e.allowed; }); }); - } + } $scope.chart.draw('bar-chart', resp.logs, $scope.logStartDate, $scope.logEndDate); $scope.kindsAllowed = null; @@ -2510,7 +2511,7 @@ quayApp.directive('logsView', function () { $scope.$watch('organization', update); $scope.$watch('user', update); $scope.$watch('repository', update); - $scope.$watch('visible', update); + $scope.$watch('makevisible', update); $scope.$watch('performer', update); $scope.$watch('logStartDate', update); $scope.$watch('logEndDate', update); @@ -2530,7 +2531,7 @@ quayApp.directive('applicationManager', function () { restrict: 'C', scope: { 'organization': '=organization', - 'visible': '=visible' + 'makevisible': '=makevisible' }, controller: function($scope, $element, ApiService) { $scope.loading = false; @@ -2564,7 +2565,7 @@ quayApp.directive('applicationManager', function () { }; var update = function() { - if (!$scope.organization || !$scope.visible) { return; } + if (!$scope.organization || !$scope.makevisible) { return; } if ($scope.loading) { return; } $scope.loading = true; @@ -2580,7 +2581,7 @@ quayApp.directive('applicationManager', function () { }; $scope.$watch('organization', update); - $scope.$watch('visible', update); + $scope.$watch('makevisible', update); } }; return directiveDefinitionObject; diff --git a/static/partials/org-admin.html b/static/partials/org-admin.html index 074a2df00..af9f07a46 100644 --- a/static/partials/org-admin.html +++ b/static/partials/org-admin.html @@ -66,12 +66,12 @@
-
+
-
+
@@ -81,7 +81,7 @@
-
+
diff --git a/static/partials/org-member-logs.html b/static/partials/org-member-logs.html index 7f5d43077..140a17346 100644 --- a/static/partials/org-member-logs.html +++ b/static/partials/org-member-logs.html @@ -1,6 +1,6 @@
-
+
diff --git a/static/partials/repo-admin.html b/static/partials/repo-admin.html index a2988b771..441c146bb 100644 --- a/static/partials/repo-admin.html +++ b/static/partials/repo-admin.html @@ -33,7 +33,7 @@
-
+
diff --git a/static/partials/user-admin.html b/static/partials/user-admin.html index b39f2c445..78881d142 100644 --- a/static/partials/user-admin.html +++ b/static/partials/user-admin.html @@ -98,7 +98,7 @@
-
+
@@ -195,7 +195,7 @@
-
+