Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-13 21:34:01 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-13 21:34:01 +0300
commitef933a4a962e4ab12c448241ad500e229a569f21 (patch)
tree5dfa8c7d340168e611f6db2f2226858529660fed /app
parentee28ee5f13d37c1c430973cdbef34f301b91343a (diff)
Improve import page
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/new.html.haml9
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