Sha256: 02a9e35d6ae14f286ae2adf9fce61932b423598dabfd9e5788eae00ae11c1c81
Contents?: true
Size: 1.6 KB
Versions: 25
Compression:
Stored size: 1.6 KB
Contents
(function () { /** * @ngdoc object * @name Bastion.content-views.controller:ContentViewAvailableDebRepositoriesController * * @requires $scope * @requires Repository * @requires Nutupane * @requires CurrentOrganization * @requires ContentViewRepositoriesUtil * * @description * Provides UI functionality add deb repositories to a content view */ function ContentViewAvailableDebRepositoriesController($scope, Repository, Nutupane, CurrentOrganization, ContentViewRepositoriesUtil) { var nutupane, nutupaneParams = { 'disableAutoLoad': true }; ContentViewRepositoriesUtil($scope); nutupane = new Nutupane(Repository, { 'organization_id': CurrentOrganization, 'library': true, 'content_type': 'deb', 'content_view_id': $scope.$stateParams.contentViewId, 'available_for': 'content_view' }, 'queryUnpaged', nutupaneParams); $scope.controllerName = 'katello_repositories'; nutupane.load(); $scope.table = nutupane.table; $scope.addRepositories = function (contentView) { $scope.addSelectedRepositoriesToContentView(nutupane, contentView); }; } angular .module('Bastion.content-views') .controller('ContentViewAvailableDebRepositoriesController', ContentViewAvailableDebRepositoriesController); ContentViewAvailableDebRepositoriesController.$inject = [ '$scope', 'Repository', 'Nutupane', 'CurrentOrganization', 'ContentViewRepositoriesUtil' ]; })();
Version data entries
25 entries across 25 versions & 1 rubygems