2015-09-11 14:41:01 +05:30
|
|
|
- page_title "Import repository"
|
2015-04-26 12:48:37 +05:30
|
|
|
%h3.page-title
|
2015-11-26 14:37:03 +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
|
2018-11-18 11:00:15 +05:30
|
|
|
#{h(@project.import_error)}
|
2015-11-26 14:37:03 +05:30
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
= form_for @project, url: project_import_path(@project), method: :post 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
|
|
|
|
= f.submit 'Start import', class: "btn btn-create", tabindex: 4
|