2020-07-28 23:09:34 +05:30
|
|
|
- page_title _("Import repository")
|
2015-04-26 12:48:37 +05:30
|
|
|
%h3.page-title
|
2021-11-11 11:23:49 +05:30
|
|
|
= _('Import repository')
|
2015-04-26 12:48:37 +05:30
|
|
|
|
|
|
|
%hr
|
|
|
|
|
2015-11-26 14:37:03 +05:30
|
|
|
- if @project.import_failed?
|
2018-11-18 11:00:15 +05:30
|
|
|
.card.border-danger
|
|
|
|
.card-header.bg-danger.text-white The repository could not be imported.
|
2018-11-08 19:23:39 +05:30
|
|
|
.card-body
|
2015-11-26 14:37:03 +05:30
|
|
|
%pre
|
|
|
|
:preserve
|
2019-02-15 15:39:39 +05:30
|
|
|
#{h(@project.import_state.last_error)}
|
2015-11-26 14:37:03 +05:30
|
|
|
|
2022-06-21 17:19:12 +05:30
|
|
|
= gitlab_ui_form_for @project, url: project_import_path(@project), method: :post, html: { class: 'js-project-import' } do |f|
|
2015-11-26 14:37:03 +05:30
|
|
|
= render "shared/import_form", f: f
|
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
.form-actions
|
2022-04-04 11:22:00 +05:30
|
|
|
= f.submit 'Start import', class: "gl-button btn btn-confirm", data: { disable_with: false }
|