Sha256: f9e8342af06a3eec6723529b16631374ffe52777e560c76cf3440ce16886f723
Contents?: true
Size: 1.38 KB
Versions: 91
Compression:
Stored size: 1.38 KB
Contents
(function () { /** * @ngdoc object * @name Bastion.puppet-modules.controller:PuppetModuleContentViewsController * * @description * Provides the functionality for the puppet modules details contentViews page. */ function PuppetModuleContentViewsController($scope, Nutupane, ContentViewVersion, CurrentOrganization) { var contentViewsNutupane, params = { 'puppet_module_id': $scope.$stateParams.puppetModuleId, '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.puppet-modules') .controller('PuppetModuleContentViewsController', PuppetModuleContentViewsController); PuppetModuleContentViewsController.$inject = [ '$scope', 'Nutupane', 'ContentViewVersion', 'CurrentOrganization' ]; })();
Version data entries
91 entries across 91 versions & 1 rubygems