debian-mirror-gitlab/app/views/import/gitlab_projects/new.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
1.1 KiB
Text
Raw Normal View History

2018-11-18 11:00:15 +05:30
- page_title _("GitLab Import")
2021-09-04 01:27:46 +05:30
- header_title _("New project"), new_project_path
2021-11-18 22:05:49 +05:30
- add_to_breadcrumbs s_('ProjectsNew|Import project'), new_project_path(anchor: 'import_project')
2017-09-10 17:25:29 +05:30
2020-07-28 23:09:34 +05:30
%h3.page-title.d-flex
.gl-display-flex.gl-align-items-center.gl-justify-content-center
2020-10-24 23:57:45 +05:30
= sprite_icon('tanuki', css_class: 'gl-mr-2')
2018-11-18 11:00:15 +05:30
= _('Import an exported GitLab project')
2016-06-22 15:30:34 +05:30
%hr
2017-09-10 17:25:29 +05:30
= form_tag import_gitlab_project_path, class: 'new_project', multipart: true do
2019-09-04 21:01:54 +05:30
= render 'import/shared/new_project_form'
2016-06-22 15:30:34 +05:30
2017-09-10 17:25:29 +05:30
.row
.form-group.col-md-12
2018-11-18 11:00:15 +05:30
= _("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.")
2017-09-10 17:25:29 +05:30
.row
.form-group.col-sm-12
2018-11-18 11:00:15 +05:30
= label_tag :file, _('GitLab project export'), class: 'label-bold'
2017-09-10 17:25:29 +05:30
.form-group
= file_field_tag :file, class: ''
.row
2018-11-08 19:23:39 +05:30
.form-actions.col-sm-12
2021-09-30 23:02:18 +05:30
= submit_tag _('Import project'), class: 'gl-button btn btn-confirm', data: { qa_selector: 'import_project_button' }
2021-04-17 20:07:23 +05:30
= link_to _('Cancel'), new_project_path, class: 'gl-button btn btn-default btn-cancel'