Sha256: 7e8226868fb673be5e4a1daf6e72ab96887557ea9089282e86fbf0a9d426c5b1

Contents?: true

Size: 1.28 KB

Versions: 75

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.masterOnly = 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

75 entries across 75 versions & 1 rubygems

Version Path
katello-3.16.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.15.0.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.15.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.15.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.15.0.rc1.3 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.15.0.rc1.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.15.0.rc1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.15.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.14.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.13.4 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.14.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.13.3 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.14.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.13.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.14.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.13.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.13.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.13.0.rc2.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.13.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.12.3 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js