diff options
author | Z.J. van de Weg <zegerjan@gitlab.com> | 2016-09-02 08:19:14 +0200 |
---|---|---|
committer | Z.J. van de Weg <zegerjan@gitlab.com> | 2016-09-02 08:19:14 +0200 |
commit | 9a1974aa9b9f08e90aec5cb6ea98b60f7eb86187 (patch) | |
tree | 6f3849a7ff01e22801d8beb46a161837e97bbecc | |
parent | 33a367e828c95ba7321d33361be67c68b1603bdd (diff) | |
download | gitlab-ce-zj-fix-gitlab-import.tar.gz |
Fix GitLab import buttonzj-fix-gitlab-import
-rw-r--r-- | CHANGELOG | 1 | ||||
-rw-r--r-- | app/views/projects/new.html.haml | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG index 934dabe743a..9a2c9047936 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -74,6 +74,7 @@ v 8.12.0 (unreleased) v 8.11.5 (unreleased) - Optimize branch lookups and force a repository reload for Repository#find_branch - Fix suggested colors options for new labels in the admin area. !6138 + - Fix GitLab import button v 8.11.4 - Fix resolving conflicts on forks. !6082 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' |