Sha256: c9d9d8b489ff906d17b4e341140718f94002c4c35f223227e03b0aa5fc74519c
Contents?: true
Size: 1.34 KB
Versions: 43
Compression:
Stored size: 1.34 KB
Contents
/** * @ngdoc object * @name Bastion.content-credentials.controller:ContentCredentialProductsController * * @requires $scope * @requires Nutupane * @requires ContentCredential * @requires ApiErrorHandler * * @description * Page for Content Credential products */ (function () { function ContentCredentialProductsController($scope, Nutupane, ContentCredential, ApiErrorHandler) { var nutupane = new Nutupane(ContentCredential, { id: $scope.$stateParams.contentCredentialId }, 'products'); $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('ContentCredentialProductsController', ContentCredentialProductsController); ContentCredentialProductsController.$inject = ['$scope', 'Nutupane', 'ContentCredential', 'ApiErrorHandler']; })();
Version data entries
43 entries across 43 versions & 1 rubygems