Sha256: 5b2d7245df2cc611983623b692c66cb995c7f6783fbceff7e05db42ba1b41dd1
Contents?: true
Size: 1.1 KB
Versions: 8
Compression:
Stored size: 1.1 KB
Contents
/** * @ngdoc object * @name Bastion.gpg-keys.controller:GPGKeyProductsController * * @requires $scope * @requires Nutupane * @requires GPGKey * @requires ApiErrorHandler * * @description * Page for GPG Key products */ (function () { function GPGKeyProductsController($scope, Nutupane, GPGKey, ApiErrorHandler) { var nutupane = new Nutupane(GPGKey, { id: $scope.$stateParams.gpgKeyId }, 'products'); nutupane.masterOnly = true; $scope.panel = $scope.panel || {error: false, loading: false}; $scope.gpgKey = GPGKey.get({id: $scope.$stateParams.gpgKeyId}, 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.gpg-keys').controller('GPGKeyProductsController', GPGKeyProductsController); GPGKeyProductsController.$inject = ['$scope', 'Nutupane', 'GPGKey', 'ApiErrorHandler']; })();
Version data entries
8 entries across 8 versions & 1 rubygems