Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngus MacArthur <amacarthur@blackberry.com>2013-09-10 00:26:27 +0400
committerAngus MacArthur <amacarthur@blackberry.com>2013-09-10 00:26:27 +0400
commitcfe13a0d9f052ab604a8d76e89b4c2fdaf64c2fd (patch)
tree6c013f30eefcc98a2a1da9767d548df181ff42aa /app/views/projects/new.html.haml
parentf87e2d2801fa4c9c47466e38012210348fac0710 (diff)
update to project creation page to reflect default public project setting
Diffstat (limited to 'app/views/projects/new.html.haml')
-rw-r--r--app/views/projects/new.html.haml8
1 files changed, 6 insertions, 2 deletions
diff --git a/app/views/projects/new.html.haml b/app/views/projects/new.html.haml
index 736da85952a..ab8efe5e3e1 100644
--- a/app/views/projects/new.html.haml
+++ b/app/views/projects/new.html.haml
@@ -2,8 +2,12 @@
.project-edit-errors
= render 'projects/errors'
.project-edit-content
- %p.slead
- New projects are private by default. You choose who can see the project and commit to repository.
+ - if Gitlab.config.gitlab.default_projects_features.public
+ %p.slead
+ New projects are public by default. Any signed in user can see your project but cannot commit to it unless granted access.
+ - else
+ %p.slead
+ New projects are private by default. You choose who can see the project and commit to repository.
%hr
= form_for @project, remote: true do |f|
.control-group.project-name-holder