Sha256: 5f0810b8291c5d84f6ffb4a2af3ae0d3786df372f7e8f6957324fef6d64a52b8
Contents?: true
Size: 1.18 KB
Versions: 115
Compression:
Stored size: 1.18 KB
Contents
/** * @ngdoc object * @name Bastion.content-credentials.controller:ContentCredentialsController * * @requires $scope * @requires $location * @requires Nutupane * @requires ContentCredential * @requires CurrentOrganization * * @description * Provides the functionality specific to ContentCredentials 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.content-credentials').controller('ContentCredentialsController', ['$scope', '$location', 'Nutupane', 'ContentCredential', 'CurrentOrganization', function ($scope, $location, Nutupane, ContentCredential, CurrentOrganization) { var params = { 'organization_id': CurrentOrganization, 'search': $location.search().search || "", 'sort_by': 'name', 'sort_order': 'ASC', 'paged': true }; var nutupane = new Nutupane(ContentCredential, params); $scope.controllerName = 'katello_gpg_keys'; $scope.table = nutupane.table; $scope.panel = {loading: false}; $scope.removeRow = nutupane.removeRow; }] );
Version data entries
115 entries across 115 versions & 1 rubygems