summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2016-09-02 14:30:14 +0000
committerDouwe Maan <douwe@gitlab.com>2016-09-02 14:30:14 +0000
commit4d07696aabac5fe920b9358816a4776b3fddb43a (patch)
tree837df08544f6c446b79ddab8744ad9e62c590f7e /app
parent8ac9e7f8460c4c46b8e3363efda679c6d62be59b (diff)
parent9a1974aa9b9f08e90aec5cb6ea98b60f7eb86187 (diff)
downloadgitlab-ce-4d07696aabac5fe920b9358816a4776b3fddb43a.tar.gz
Merge branch 'zj-fix-gitlab-import' into 'master'
Fix GitLab import button cc @MrChrisW Closes gitlab-org/gitlab-ce#21795 See merge request !6167
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/new.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/new.html.haml b/app/views/projects/new.html.haml
index 0a1e2bb2cc6..fda0592dd41 100644
--- a/app/views/projects/new.html.haml
+++ b/app/views/projects/new.html.haml
@@ -55,7 +55,7 @@
= render 'bitbucket_import_modal'
%div
- if gitlab_import_enabled?
- = link_to status_import_gitlab_path, class: "btn import_gitlab #{'how_to_import_link' unless bitbucket_import_configured?}" do
+ = link_to status_import_gitlab_path, class: "btn import_gitlab #{'how_to_import_link' unless gitlab_import_configured?}" do
= icon('gitlab', text: 'GitLab.com')
- unless gitlab_import_configured?
= render 'gitlab_import_modal'