Sha256: 6e0f44748090a792fe2c76ca7d6a75e15eaabd6c29b1e9c39024ae8e618c6b97
Contents?: true
Size: 1.46 KB
Versions: 43
Compression:
Stored size: 1.46 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_content_credentials'; nutupane.primaryOnly = 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
43 entries across 43 versions & 1 rubygems