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