Sha256: 957287427ec1cb8cf1c5ea6c0fe1e3fe973a9b2dcfff515365d46c1aa4958444
Contents?: true
Size: 1.52 KB
Versions: 114
Compression:
Stored size: 1.52 KB
Contents
(function () { /** * @ngdoc object * @name Bastion.content-views.controller:ContentViewFileRepositoriesListController * * @requires $scope * @requires Repository * @requires Nutupane * @requires CurrentOrganization * @requires ContentViewRepositoriesUtil * * @description * Provides UI functionality list/remove file repositories from a content view */ function ContentViewFileRepositoriesListController($scope, Repository, Nutupane, CurrentOrganization, ContentViewRepositoriesUtil) { var nutupane, nutupaneParams = { 'disableAutoLoad': true }; ContentViewRepositoriesUtil($scope); nutupane = new Nutupane(Repository, { 'organization_id': CurrentOrganization, 'content_view_id': $scope.$stateParams.contentViewId, 'content_type': 'file' }, 'queryPaged', nutupaneParams); $scope.controllerName = 'katello_repositories'; nutupane.load(); $scope.table = nutupane.table; $scope.removeRepositories = function () { $scope.removeSelectedRepositoriesFromContentView(nutupane, $scope.contentView); }; } angular .module('Bastion.content-views') .controller('ContentViewFileRepositoriesListController', ContentViewFileRepositoriesListController); ContentViewFileRepositoriesListController.$inject = [ '$scope', 'Repository', 'Nutupane', 'CurrentOrganization', 'ContentViewRepositoriesUtil' ]; })();
Version data entries
114 entries across 114 versions & 1 rubygems