summaryrefslogtreecommitdiff
path: root/app/views/projects/new.html.haml
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2014-12-31 15:07:48 +0200
committerValery Sizov <valery@gitlab.com>2015-01-10 09:51:43 -0800
commita9f7fd2c1a7052247333b89f6a22a883b480370d (patch)
treea7321e528f9ac10f0e8f8f591dca6a4c83f09b9a /app/views/projects/new.html.haml
parentd02a22ba21f91d2aa4f9cf716dc3aefcf7e7495e (diff)
downloadgitlab-ce-a9f7fd2c1a7052247333b89f6a22a883b480370d.tar.gz
Github Importer
Diffstat (limited to 'app/views/projects/new.html.haml')
-rw-r--r--app/views/projects/new.html.haml10
1 files changed, 9 insertions, 1 deletions
diff --git a/app/views/projects/new.html.haml b/app/views/projects/new.html.haml
index f320a2b505e..88c1f725703 100644
--- a/app/views/projects/new.html.haml
+++ b/app/views/projects/new.html.haml
@@ -39,7 +39,15 @@
%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"}
- %hr
+
+ - 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
+
+ %hr.prepend-botton-10
.form-group
= f.label :description, class: 'control-label' do