debian-mirror-gitlab/app/views/projects/_export.html.haml

32 lines
1.5 KiB
Text
Raw Normal View History

2018-03-17 18:26:18 +05:30
- return unless Gitlab::CurrentSettings.project_export_enabled?
- project = local_assigns.fetch(:project)
2019-07-31 22:56:46 +05:30
.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
2020-06-23 00:09:42 +05:30
%p.gl-mb-0
2019-07-31 22:56:46 +05:30
%p= _('The following items will be exported:')
%ul
2019-12-21 20:55:43 +05:30
- project_export_descriptions.each do |desc|
%li= desc
2019-07-31 22:56:46 +05:30
%p= _('The following items will NOT be exported:')
%ul
2019-12-26 22:10:19 +05:30
%li= _('Job logs and artifacts')
2019-07-31 22:56:46 +05:30
%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),
2019-12-04 20:38:33 +05:30
rel: 'nofollow', download: '', method: :get, class: "btn btn-default", data: { qa_selector: 'download_export_link' }
2019-07-31 22:56:46 +05:30
= link_to _('Generate new export'), generate_new_export_project_path(project),
method: :post, class: "btn btn-default"
- else
2020-10-24 23:57:45 +05:30
.gl-display-flex.gl-justify-content-end
= link_to _('Export project'), export_project_path(project),
2019-12-04 20:38:33 +05:30
method: :post, class: "btn btn-default", data: { qa_selector: 'export_project_link' }