Sha256: cc1271ae4763918ac96e46194b0b4fc18a3002bb4c164ea2e3fa3184b2f4a741
Contents?: true
Size: 1.57 KB
Versions: 68
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' }, 'queryPaged', nutupaneParams); $scope.controllerName = 'katello_repositories'; nutupane.primaryOnly = 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
68 entries across 68 versions & 1 rubygems