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