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