debian-mirror-gitlab/app/views/projects/imports/new.html.haml

20 lines
497 B
Text
Raw Normal View History

2020-07-28 23:09:34 +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
2019-02-15 15:39:39 +05:30
#{h(@project.import_state.last_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
2021-01-29 00:20:46 +05:30
= f.submit 'Start import', class: "gl-button btn btn-success"