Sha256: e82dcb5dc9f6e03a7396df12a5d81d31be863f63a27b4facaa130a9fa8777281
Contents?: true
Size: 1.62 KB
Versions: 22
Compression:
Stored size: 1.62 KB
Contents
(function () { function ContentCredentialRepositoriesController($scope, Nutupane, ContentCredential, ApiErrorHandler, translate) { /** * @ngdoc object * @name Bastion.content-credentials.controller:ContentCredentialRepositoriesController * * @requires $scope * @requires Nutupane * @requires ContentCredential * @requires ApiErrorHandler * @requires translate * * @description * Page for Content Credential repositories */ var nutupane = new Nutupane(ContentCredential, { id: $scope.$stateParams.contentCredentialId }, 'repositories'); $scope.controllerName = 'katello_content_credentials'; // Labels so breadcrumb strings can be translated $scope.label = translate('Repositories'); 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', 'translate']; })();
Version data entries
22 entries across 22 versions & 1 rubygems