diff options
author | Stan Hu <stanhu@gmail.com> | 2018-06-25 13:06:10 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-06-25 13:06:10 -0700 |
commit | ebd8e4333a263138abf2113dd315a97352851cbe (patch) | |
tree | 4e4975eab778d490c20c9252785761a1d78fae26 /app/views/projects | |
parent | 2bac2918b2d6f12d94f739f4b6865b9e9221c642 (diff) | |
download | gitlab-ce-ebd8e4333a263138abf2113dd315a97352851cbe.tar.gz |
WIP: Add support for Bitbucket Server imports
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/_import_project_pane.html.haml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/views/projects/_import_project_pane.html.haml b/app/views/projects/_import_project_pane.html.haml index 8f535b9d789..ccb724a3b0f 100644 --- a/app/views/projects/_import_project_pane.html.haml +++ b/app/views/projects/_import_project_pane.html.haml @@ -17,10 +17,15 @@ %div - if bitbucket_import_enabled? = link_to status_import_bitbucket_path, class: "btn import_bitbucket #{'how_to_import_link' unless bitbucket_import_configured?}" do - = icon('bitbucket', text: 'Bitbucket') + = icon('bitbucket', text: 'Bitbucket Cloud') - unless bitbucket_import_configured? = render 'bitbucket_import_modal' %div + - if bitbucket_server_import_enabled? + = link_to status_import_bitbucket_server_path, class: "btn import_bitbucket" do + = icon('bitbucket', text: 'Bitbucket Server') + = render 'bitbucket_import_modal' + %div - if gitlab_import_enabled? = link_to status_import_gitlab_path, class: "btn import_gitlab #{'how_to_import_link' unless gitlab_import_configured?}" do = icon('gitlab', text: 'GitLab.com') |