Sha256: a66e7faae6cb0380b5f1fb452019d9e735080470d40bd45595e33212348ee4e5
Contents?: true
Size: 1.09 KB
Versions: 8
Compression:
Stored size: 1.09 KB
Contents
/** * @ngdoc object * @name Bastion.gpg-keys.controller:GPGKeysController * * @requires $scope * @requires $location * @requires Nutupane * @requires GPGKey * @requires CurrentOrganization * * @description * Provides the functionality specific to GPGKeys for use with the Nutupane UI pattern. * Defines the columns to display and the transform function for how to generate each row * within the table. */ angular.module('Bastion.gpg-keys').controller('GPGKeysController', ['$scope', '$location', 'Nutupane', 'GPGKey', 'CurrentOrganization', function ($scope, $location, Nutupane, GPGKey, CurrentOrganization) { var params = { 'organization_id': CurrentOrganization, 'search': $location.search().search || "", 'sort_by': 'name', 'sort_order': 'ASC', 'paged': true }; var nutupane = new Nutupane(GPGKey, params); $scope.table = nutupane.table; $scope.panel = {loading: false}; $scope.removeRow = nutupane.removeRow; $scope.controllerName = 'katello_gpg_keys'; }] );
Version data entries
8 entries across 8 versions & 1 rubygems