Sha256: 042ac9efb579d28005e62c1ce978f3e5bb071eeaa356c5d9687dd08db004dc69

Contents?: true

Size: 1.28 KB

Versions: 98

Compression:

Stored size: 1.28 KB

Contents

(function () {

    /**
     * @ngdoc object
     * @name  Bastion.debs.controller:DebContentViewsController
     *
     * @description
     *   Provides the functionality for the debs details contentViews page.
     */
    function DebContentViewsController($scope, Nutupane, ContentViewVersion, CurrentOrganization) {
        var contentViewsNutupane,
            params = {
                'deb_id': $scope.$stateParams.debId,
                'organization_id': CurrentOrganization
            };

        contentViewsNutupane = new Nutupane(ContentViewVersion, params);
        $scope.controllerName = 'katello_content_views';
        contentViewsNutupane.primaryOnly = true;
        contentViewsNutupane.setSearchKey('contentViewsSearch');

        $scope.table = contentViewsNutupane.table;

        $scope.environmentNames = function (environments) {
            var names = _.map(environments, function (environment) {
                return environment.name;
            });

            return names.join(',');
        };
    }

    angular
        .module('Bastion.debs')
        .controller('DebContentViewsController', DebContentViewsController);

    DebContentViewsController.$inject = [
        '$scope',
        'Nutupane',
        'ContentViewVersion',
        'CurrentOrganization'
    ];

})();

Version data entries

98 entries across 98 versions & 1 rubygems

Version Path
katello-4.10.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-4.9.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-4.10.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-4.10.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-4.8.4 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-4.9.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-4.8.3 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-4.9.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-4.7.6 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-4.8.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-4.9.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-4.9.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-4.8.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-4.7.5 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-4.8.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-4.8.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-4.7.4 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-4.8.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-4.7.3 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-4.7.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js