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

_export.html.haml « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2e00632892b79f23274c51976a5383fa237b87c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
- return unless Gitlab::CurrentSettings.project_export_enabled?

- project = local_assigns.fetch(:project)

.sub-section
  %h4= _('Export project')
  %p= _('Export this project with all its related data in order to move your project to a new GitLab instance. Once the export is finished, you can import the file from the "New Project" page.')

  .bs-callout.bs-callout-info
    %p.append-bottom-0
      %p= _('The following items will be exported:')
      %ul
        - project_export_descriptions.each do |desc|
          %li= desc
      %p= _('The following items will NOT be exported:')
      %ul
        %li= _('Job logs and artifacts')
        %li= _('Container registry images')
        %li= _('CI variables')
        %li= _('Webhooks')
        %li= _('Any encrypted tokens')
  %p= _('Once the exported file is ready, you will receive a notification email with a download link, or you can download it from this page.')
  - if project.export_status == :finished
    = link_to _('Download export'), download_export_project_path(project),
            rel: 'nofollow', download: '', method: :get, class: "btn btn-default", data: { qa_selector: 'download_export_link' }
    = link_to _('Generate new export'), generate_new_export_project_path(project),
            method: :post, class: "btn btn-default"
  - else
    = link_to _('Export project'), export_project_path(project),
            method: :post, class: "btn btn-default", data: { qa_selector: 'export_project_link' }