Add a namespace selector for choosing the namespace in the new repo view
This commit is contained in:
parent
d7148b1711
commit
1f0b142535
6 changed files with 75 additions and 6 deletions
|
@ -1078,6 +1078,7 @@ function NewRepoCtrl($scope, $location, $http, UserService, Restangular, PlanSer
|
|||
$scope.creating = true;
|
||||
var repo = $scope.repo;
|
||||
var data = {
|
||||
'namespace': repo.namespace,
|
||||
'repository': repo.name,
|
||||
'visibility': repo.is_public == '1' ? 'public' : 'private',
|
||||
'description': repo.description
|
||||
|
|
Reference in a new issue