Sha256: db48d9f456bde363032d92525ec8bc6a2f0504c8e0ecf59e5a79c241c3219f30
Contents?: true
Size: 1.28 KB
Versions: 20
Compression:
Stored size: 1.28 KB
Contents
/** * @ngdoc object * @name Bastion.activation-keys.controller:ActivationKeysController * * @requires $scope * @requires $location * @requires translate * @requires Nutupane * @requires ActivationKey * @requires CurrentOrganization * * @description * Provides the functionality specific to activation keys 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.activation-keys').controller('ActivationKeysController', ['$scope', '$location', 'translate', 'Nutupane', 'ActivationKey', 'CurrentOrganization', function ($scope, $location, translate, Nutupane, ActivationKey, CurrentOrganization) { var params = { 'organization_id': CurrentOrganization, 'search': $location.search().search || "", 'sort_by': 'name', 'sort_order': 'ASC', 'paged': true }; var nutupane = new Nutupane(ActivationKey, params); $scope.table = nutupane.table; $scope.removeRow = nutupane.removeRow; $scope.controllerName = 'katello_activation_keys'; $scope.table.closeItem = function () { $scope.transitionTo('activation-keys.index'); }; }] );
Version data entries
20 entries across 20 versions & 1 rubygems