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