summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorBrianna Kicia <bkicia@us.ibm.com>2017-07-11 20:57:00 +0000
committerClement Ho <clemmakesapps@gmail.com>2017-07-11 20:57:00 +0000
commita516853a3a3ec7a599120ddf0aa6afbcda0151c1 (patch)
treec531578cf3df6e2072f58f59e3f96cb9b59cacd7 /app/views
parent02341c59744dbb644101b313c8dcb329100e0ed5 (diff)
downloadgitlab-ce-a516853a3a3ec7a599120ddf0aa6afbcda0151c1.tar.gz
Toggle import description with import_sources_enabled
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/new.html.haml5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/projects/new.html.haml b/app/views/projects/new.html.haml
index 7b8be58554a..b0b7575f0d1 100644
--- a/app/views/projects/new.html.haml
+++ b/app/views/projects/new.html.haml
@@ -9,8 +9,9 @@
.col-lg-3.profile-settings-sidebar
%h4.prepend-top-0
New project
- %p
- Create or Import your project from popular Git services
+ - if import_sources_enabled?
+ %p
+ Create or Import your project from popular Git services
.col-lg-9
= form_for @project, html: { class: 'new_project' } do |f|
.row