Welcome to mirror list, hosted at ThFree Co, Russian Federation.

new.html.haml « imports « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b021087c394034e4af14f1a45409ae563eaf7f78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
- page_title _("Import repository")
%h3.page-title
  = _('Import repository')

%hr

- if @project.import_failed?
  .card.border-danger
    .card-header.bg-danger.text-white The repository could not be imported.
    .card-body
      %pre
        :preserve
          #{h(@project.import_state.last_error)}

= form_for @project, url: project_import_path(@project), method: :post, html: { class: 'js-project-import' } do |f|
  = render "shared/import_form", f: f

  .form-actions
    = f.submit 'Start import', class: "gl-button btn btn-confirm", data: { disable_with: false }