debian-mirror-gitlab/app/views/groups/settings/_export.html.haml

29 lines
1.4 KiB
Text
Raw Normal View History

2020-05-24 23:13:21 +05:30
- return unless Feature.enabled?(:group_import_export, @group, default_enabled: true)
- group = local_assigns.fetch(:group)
.sub-section
%h4= s_('GroupSettings|Export group')
%p= _('Export this group with all related data to a new GitLab instance. Once complete, you can import the data file from the "New Group" page.')
.bs-callout.bs-callout-info
2020-06-23 00:09:42 +05:30
%p.gl-mb-0
2020-05-24 23:13:21 +05:30
%p= _('The following items will be exported:')
%ul
- group_export_descriptions.each do |description|
%li= description
%p= _('The following items will NOT be exported:')
%ul
%li= _('Projects')
%li= _('Runner tokens')
%li= _('SAML discovery 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 group.export_file_exists?
= link_to _('Regenerate export'), export_group_path(group),
2021-03-11 19:13:27 +05:30
method: :post, class: 'btn gl-button btn-default', data: { qa_selector: 'regenerate_export_group_link' }
2020-05-24 23:13:21 +05:30
= link_to _('Download export'), download_export_group_path(group),
2021-03-11 19:13:27 +05:30
rel: 'nofollow', method: :get, class: 'btn gl-button btn-default', data: { qa_selector: 'download_export_link' }
2020-05-24 23:13:21 +05:30
- else
2021-01-03 14:25:43 +05:30
= link_to _('Export group'), export_group_path(group),
2021-03-11 19:13:27 +05:30
method: :post, class: 'btn gl-button btn-default', data: { qa_selector: 'export_group_link' }