Sha256: 164bcb40ba9fd5a5dfb36e34b886ff48b6dbd206ae21dd19e31ad62539c1aa8e

Contents?: true

Size: 1.42 KB

Versions: 22

Compression:

Stored size: 1.42 KB

Contents

/**
 * @ngdoc object
 * @name  Bastion.activation-keys.controller:ActivationKeysController
 *
 * @requires $scope
 * @requires $location
 * @requires translate
 * @requires Nutupane
 * @requires ActivationKey
 * @requires CurrentOrganization
 * @requires experimentalLabsSetting
 *
 * @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', 'experimentalLabsSetting',
    function ($scope, $location, translate, Nutupane, ActivationKey, CurrentOrganization, experimentalLabsSetting) {

        var params = {
            'organization_id': CurrentOrganization,
            'search': $location.search().search || "",
            'sort_by': 'name',
            'sort_order': 'ASC',
            'paged': true
        };

        var nutupane = new Nutupane(ActivationKey, params);

        // Labels so breadcrumb strings can be translated
        $scope.label = translate('Activation Keys');

        $scope.controllerName = 'katello_activation_keys';
        nutupane.primaryOnly = true;
        $scope.table = nutupane.table;
        $scope.experimentalLabsSetting = experimentalLabsSetting;
    }]
);

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
katello-4.14.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.controller.js
katello-4.15.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.controller.js
katello-4.15.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.controller.js
katello-4.15.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.controller.js
katello-4.14.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.controller.js
katello-4.14.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.controller.js
katello-4.14.0.rc3 engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.controller.js
katello-4.14.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.controller.js
katello-4.14.0.rc1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.controller.js
katello-4.14.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.controller.js
katello-4.13.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.controller.js
katello-4.13.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.controller.js
katello-4.12.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.controller.js
katello-4.13.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.controller.js
katello-4.12.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.controller.js
katello-4.12.0.rc3 engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.controller.js
katello-4.12.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.controller.js
katello-4.12.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.controller.js
katello-4.11.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.controller.js
katello-4.11.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.controller.js