Sha256: f7aba4b0fe077af505fff30ab136cef419686124a4b1242f4b6afba67298d5f1
Contents?: true
Size: 1.29 KB
Versions: 91
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.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.files') .controller('FileContentViewsController', FileContentViewsController); FileContentViewsController.$inject = [ '$scope', 'Nutupane', 'ContentViewVersion', 'CurrentOrganization' ]; })();
Version data entries
91 entries across 91 versions & 1 rubygems