summaryrefslogtreecommitdiff
path: root/app/views/projects/new.html.haml
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-04-22 17:44:59 +0200
committerJames Lopez <james@jameslopez.es>2016-04-22 17:44:59 +0200
commitacf297955a5546161ac5e52589ba4740f234a0ae (patch)
treee52ac7029d34478af08b7d6627dc348f1f2e60cd /app/views/projects/new.html.haml
parentb18bd9c85f0d925aaa6ecf531673958bd97082fc (diff)
downloadgitlab-ce-acf297955a5546161ac5e52589ba4740f234a0ae.tar.gz
gitlab import UI - icon, file selector, etc... Also updated font-awesome and modified import source settings.
Diffstat (limited to 'app/views/projects/new.html.haml')
-rw-r--r--app/views/projects/new.html.haml9
1 files changed, 8 insertions, 1 deletions
diff --git a/app/views/projects/new.html.haml b/app/views/projects/new.html.haml
index a4c6094c69a..cf24c4cacf3 100644
--- a/app/views/projects/new.html.haml
+++ b/app/views/projects/new.html.haml
@@ -88,10 +88,17 @@
- if git_import_enabled?
= link_to "#", class: 'btn js-toggle-button import_git' do
%i.fa.fa-git
- %span Any repo by URL
+ %span Repo by URL
+
+ - if gitlab_project_import_enabled?
+ = link_to "#", class: 'btn import_gitlab_project', onclick: '$(".js-toggle-content2").toggle();' do
+ %i.fa.fa-gitlab
+ %span GitLab project
.js-toggle-content.hide
= render "shared/import_form", f: f
+ .js-toggle-content2.hide
+ = render "project_import_form", f: f
.prepend-botton-10