summaryrefslogtreecommitdiff
path: root/app/views/import/gitlab_projects
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-06-15 17:31:00 +0200
committerJames Lopez <james@jameslopez.es>2016-06-15 17:31:00 +0200
commit4bde59341f6d4679b2eefa2c5e332c33c3c76050 (patch)
treed9c98b030da720f0d413f6ad5e3066cb67559fdd /app/views/import/gitlab_projects
parentf6896f9381b9d833e0db4d0e5be95f2ffc64561a (diff)
downloadgitlab-ce-4bde59341f6d4679b2eefa2c5e332c33c3c76050.tar.gz
lots of refactoring again based on feedback. Changed the UI slightly and also fixed a small bug
Diffstat (limited to 'app/views/import/gitlab_projects')
-rw-r--r--app/views/import/gitlab_projects/new.html.haml12
1 files changed, 5 insertions, 7 deletions
diff --git a/app/views/import/gitlab_projects/new.html.haml b/app/views/import/gitlab_projects/new.html.haml
index d0ef7a534e6..44e2653ca4a 100644
--- a/app/views/import/gitlab_projects/new.html.haml
+++ b/app/views/import/gitlab_projects/new.html.haml
@@ -2,19 +2,17 @@
- header_title "Projects", root_path
%h3.page-title
= icon('gitlab')
- Import projects from GitLab
+ Import an exported GitLab project
%hr
= form_tag import_gitlab_project_path, class: 'form-horizontal', multipart: true do
%p
- Project will be imported to path
+ Project will be imported as
%strong
- #{@path}
+ #{@namespace_name}/#{@path}
%p
- To get started add your exported project file below, then you will be redirected to the new project page and the project will appear once the import is done.
- %p
- You can generate a new export file from your project settings.
+ To move or copy an entire GitLab project from another GitLab installation to this one, navigate to the original project's settings page, generate an export file, and upload it here.
.form-group
= hidden_field_tag :namespace_id, @namespace_id
= hidden_field_tag :path, @path
@@ -24,4 +22,4 @@
= file_field_tag :file, class: ''
.form-actions
- = submit_tag 'Continue to the next step', class: 'btn btn-create'
+ = submit_tag 'Import project', class: 'btn btn-create'