Sha256: 92c7ca14dc4368184ec8be028410d16370caf58d6a29f5e65f1f73c7ae2f562c
Contents?: true
Size: 1.57 KB
Versions: 68
Compression:
Stored size: 1.57 KB
Contents
(function () { /** * @ngdoc object * @name Bastion.content-views.controller:ContentViewOstreeRepositoriesListController * * @requires $scope * @requires Repository * @requires Nutupane * @requires CurrentOrganization * @requires ContentViewRepositoriesUtil * * @description * Provides UI functionality list/remove ostree repositories from a content view */ function ContentViewOstreeRepositoriesListController($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': 'ostree' }, '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('ContentViewOstreeRepositoriesListController', ContentViewOstreeRepositoriesListController); ContentViewOstreeRepositoriesListController.$inject = [ '$scope', 'Repository', 'Nutupane', 'CurrentOrganization', 'ContentViewRepositoriesUtil' ]; })();
Version data entries
68 entries across 68 versions & 1 rubygems