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.0.0.rc3 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.18.2.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.18.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.17.3 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-4.0.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.18.1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.17.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-4.0.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.18.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.18.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.17.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.18.0.rc2.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.18.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.17.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.18.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.17.0.rc2.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.17.0.rc2.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js
katello-3.17.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/deb-content-views.controller.js