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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
2.2 KiB
Text
Raw Normal View History

2020-05-24 23:13:21 +05:30
- group = local_assigns.fetch(:group)
.sub-section
%h4= s_('GroupSettings|Export group')
2022-01-26 12:08:38 +05:30
%p= _('Export this group with all related data.')
2022-07-23 23:45:48 +05:30
= render Pajamas::AlertComponent.new(variant: :warning, dismissible: false, alert_options: { class: 'gl-mb-4' }) do |c|
2022-07-16 23:28:13 +05:30
= c.body do
2023-05-27 22:25:52 +05:30
- docs_link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: help_page_path('user/group/import/index', anchor: 'migrate-groups-by-direct-transfer-recommended') }
2022-01-26 12:08:38 +05:30
- docs_link_end = '</a>'.html_safe
2023-05-27 22:25:52 +05:30
= s_('GroupsNew|This feature is deprecated and replaced by group migration by direct transfer. %{docs_link_start}Learn more%{docs_link_end}.').html_safe % { docs_link_start: docs_link_start, docs_link_end: docs_link_end }
2022-01-26 12:08:38 +05:30
%p
- export_information = _('After the export is complete, download the data file from a notification email or from this page. You can then import the data file from the %{strong_text_start}Create new group%{strong_text_end} page of another GitLab instance.') % { strong_text_start: '<strong>'.html_safe, strong_text_end: '</strong>'.html_safe}
= export_information.html_safe
2022-07-23 23:45:48 +05:30
= render Pajamas::AlertComponent.new(dismissible: false, alert_options: { class: 'gl-mb-5' }) do |c|
2022-07-16 23:28:13 +05:30
= c.body do
2022-06-21 17:19:12 +05:30
%p.gl-mb-0
%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')
2020-05-24 23:13:21 +05:30
- if group.export_file_exists?
2023-03-04 22:38:38 +05:30
= render Pajamas::ButtonComponent.new(href: download_export_group_path(group), button_options: { rel: 'nofollow', data: { method: :get, qa_selector: 'download_export_link' } }) do
= _('Download export')
= render Pajamas::ButtonComponent.new(href: export_group_path(group), button_options: { data: { method: :post, qa_selector: 'regenerate_export_group_link' } }) do
= _('Regenerate export')
2020-05-24 23:13:21 +05:30
- else
2023-03-04 22:38:38 +05:30
= render Pajamas::ButtonComponent.new(href: export_group_path(group), button_options: { data: { method: :post, qa_selector: 'export_group_link' } }) do
= _('Export group')