Read about our upcoming Code of Conduct on this issue

This instance will be upgraded to Heptapod 0.28.1 on 2022-01-26 at 16:00 UTC+1 (a few minutes of down time)

new.html.haml 497 Bytes
Newer Older
Douwe Maan's avatar
Douwe Maan committed
1
- page_title "Import repository"
2
%h3.page-title
3
  Import repository
4
5
6

%hr

7
- if @project.import_failed?
8
9
  .card.border-danger
    .card-header.bg-danger.text-white The repository could not be imported.
10
    .card-body
Douwe Maan's avatar
Douwe Maan committed
11
12
      %pre
        :preserve
13
          #{h(@project.import_state.last_error)}
14

15
= form_for @project, url: project_import_path(@project), method: :post do |f|
Douwe Maan's avatar
Douwe Maan committed
16
17
  = render "shared/import_form", f: f

18
  .form-actions
19
    = f.submit 'Start import', class: "btn btn-success", tabindex: 4