- Default to private repo in new repo view
- Make it even more clear when you choose public vs private
This commit is contained in:
parent
8b5c781f84
commit
ee37cf2f4e
2 changed files with 3 additions and 5 deletions
|
@ -1901,7 +1901,7 @@ function NewRepoCtrl($scope, $location, $http, $timeout, UserService, ApiService
|
|||
$scope.githubClientId = KeyService.githubClientId;
|
||||
|
||||
$scope.repo = {
|
||||
'is_public': 1,
|
||||
'is_public': 0,
|
||||
'description': '',
|
||||
'initialize': ''
|
||||
};
|
||||
|
@ -1920,9 +1920,6 @@ function NewRepoCtrl($scope, $location, $http, $timeout, UserService, ApiService
|
|||
|
||||
// Determine whether private repositories are allowed for the namespace.
|
||||
checkPrivateAllowed();
|
||||
|
||||
// Default to private repos for organizations.
|
||||
$scope.repo.is_public = isUserNamespace ? '1' : '0';
|
||||
});
|
||||
|
||||
$scope.changeNamespace = function(namespace) {
|
||||
|
|
Reference in a new issue