Sha256: 54dfebefc34f6efe9097a3587a7be7b5b6d24c629ce7523546b5720dfaa33566
Contents?: true
Size: 1.45 KB
Versions: 60
Compression:
Stored size: 1.45 KB
Contents
(function () { function ContentCredentialRepositoriesController($scope, Nutupane, ContentCredential, ApiErrorHandler) { /** * @ngdoc object * @name Bastion.content-credentials.controller:ContentCredentialRepositoriesController * * @requires $scope * @requires Nutupane * @requires ContentCredential * @requires ApiErrorHandler * * @description * Page for Content Credential repositories */ var nutupane = new Nutupane(ContentCredential, { id: $scope.$stateParams.contentCredentialId }, 'repositories'); $scope.controllerName = 'katello_gpg_keys'; nutupane.masterOnly = true; $scope.panel = $scope.panel || {error: false, loading: false}; $scope.contentCredential = ContentCredential.get({id: $scope.$stateParams.contentCredentialId}, function () { $scope.panel.error = false; $scope.panel.loading = false; }, function (response) { $scope.panel.loading = false; ApiErrorHandler.handleGETRequestErrors(response, $scope); }); $scope.table = nutupane.table; } angular.module('Bastion.content-credentials').controller('ContentCredentialRepositoriesController', ContentCredentialRepositoriesController); ContentCredentialRepositoriesController.$inject = ['$scope', 'Nutupane', 'ContentCredential', 'ApiErrorHandler']; })();
Version data entries
60 entries across 60 versions & 1 rubygems