- Default to private repo in new repo view

- Make it even more clear when you choose public vs private
This commit is contained in:
Joseph Schorr 2014-05-16 14:19:54 -04:00
parent 8b5c781f84
commit ee37cf2f4e
2 changed files with 3 additions and 5 deletions

View file

@ -166,7 +166,8 @@
<div class="col-md-8">
<button class="btn btn-large btn-success" type="submit"
ng-disabled="uploading || building || newRepoForm.$invalid || (repo.is_public == '0' && (planRequired || checkingPlan)) || ((repo.initialize == 'dockerfile' || repo.initialize == 'zipfile') && !hasDockerfile)">
Create Repository
<i class="fa fa-large" ng-class="repo.is_public == '1' ? 'fa-unlock' : 'fa-lock'" style="margin-right: 4px"></i>
Create {{ repo.is_public == '1' ? 'Public' : 'Private' }} Repository
</button>
</div>
</div>