Sha256: 551769a53e9dd65322d878980bd6addb51f1136b5fae740fee335555a05a459c
Contents?: true
Size: 1.49 KB
Versions: 20
Compression:
Stored size: 1.49 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; ContentViewRepositoriesUtil($scope); nutupane = new Nutupane(Repository, { 'organization_id': CurrentOrganization, 'content_view_id': $scope.$stateParams.contentViewId, 'content_type': 'docker' }, 'queryUnpaged'); $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
20 entries across 20 versions & 1 rubygems