diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-13 10:34:01 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-13 10:34:01 -0800 |
commit | ef933a4a962e4ab12c448241ad500e229a569f21 (patch) | |
tree | 5dfa8c7d340168e611f6db2f2226858529660fed | |
parent | ee28ee5f13d37c1c430973cdbef34f301b91343a (diff) | |
download | gitlab-ce-ef933a4a962e4ab12c448241ad500e229a569f21.tar.gz |
Improve import page
-rw-r--r-- | app/views/projects/new.html.haml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/app/views/projects/new.html.haml b/app/views/projects/new.html.haml index 88c1f725703..ccd02acd761 100644 --- a/app/views/projects/new.html.haml +++ b/app/views/projects/new.html.haml @@ -27,7 +27,7 @@ .col-sm-10 = link_to "#", class: 'js-toggle-button' do %i.fa.fa-upload - %span Import existing repository? + %span Import existing repository by URL .js-toggle-content.hide .form-group.import-url-data = f.label :import_url, class: 'control-label' do @@ -39,13 +39,14 @@ %br The import will time out after 4 minutes. For big repositories, use a clone/push combination. For SVN repositories, check #{link_to "this migrating from SVN doc.", "http://doc.gitlab.com/ce/workflow/migrating_from_svn.html"} - + - if github_import_enabled? .project-import.form-group .col-sm-2 .col-sm-10 - %i.fa.fa-bars - = link_to "Import projects from github", status_github_import_path + = link_to status_github_import_path do + %i.fa.fa-github + Import projects from GitHub %hr.prepend-botton-10 |