Commit cfe13a0d9f052ab604a8d76e89b4c2fdaf64c2fd
1 parent
f87e2d28
Exists in
master
and in
4 other branches
update to project creation page to reflect default public project setting
Showing
1 changed file
with
6 additions
and
2 deletions
Show diff stats
app/views/projects/new.html.haml
| @@ -2,8 +2,12 @@ | @@ -2,8 +2,12 @@ | ||
| 2 | .project-edit-errors | 2 | .project-edit-errors |
| 3 | = render 'projects/errors' | 3 | = render 'projects/errors' |
| 4 | .project-edit-content | 4 | .project-edit-content |
| 5 | - %p.slead | ||
| 6 | - New projects are private by default. You choose who can see the project and commit to repository. | 5 | + - if Gitlab.config.gitlab.default_projects_features.public |
| 6 | + %p.slead | ||
| 7 | + New projects are public by default. Any signed in user can see your project but cannot commit to it unless granted access. | ||
| 8 | + - else | ||
| 9 | + %p.slead | ||
| 10 | + New projects are private by default. You choose who can see the project and commit to repository. | ||
| 7 | %hr | 11 | %hr |
| 8 | = form_for @project, remote: true do |f| | 12 | = form_for @project, remote: true do |f| |
| 9 | .control-group.project-name-holder | 13 | .control-group.project-name-holder |