Sha256: 1fe9f9f74c6b18a86fddf27da03c10b9e66ac9c03addf22d4980357d193f298e
Contents?: true
Size: 1.57 KB
Versions: 25
Compression:
Stored size: 1.57 KB
Contents
(function () { /** * @ngdoc object * @name Bastion.content-views.controller:ContentViewDockerRepositoriesListController * * @requires $scope * @requires Repository * @requires Nutupane * @requires CurrentOrganization * @requires ContentViewRepositoriesUtil * * @description * Provides UI functionality list/remove docker repositories from a content view */ function ContentViewDockerRepositoriesListController($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': 'docker' }, 'queryUnpaged', nutupaneParams); $scope.controllerName = 'katello_repositories'; nutupane.masterOnly = true; nutupane.load(); $scope.table = nutupane.table; $scope.removeRepositories = function () { $scope.removeSelectedRepositoriesFromContentView(nutupane, $scope.contentView); }; } angular .module('Bastion.content-views') .controller('ContentViewDockerRepositoriesListController', ContentViewDockerRepositoriesListController); ContentViewDockerRepositoriesListController.$inject = [ '$scope', 'Repository', 'Nutupane', 'CurrentOrganization', 'ContentViewRepositoriesUtil' ]; })();
Version data entries
25 entries across 25 versions & 1 rubygems