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.9.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.9.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.7.1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.7.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.8.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.8.0.rc3 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.8.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.7.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.8.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.7.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.7.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.6.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.6.0.1.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.6.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.6.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js