debian-mirror-gitlab/app/helpers/export_helper.rb

29 lines
720 B
Ruby
Raw Normal View History

2019-12-21 20:55:43 +05:30
# frozen_string_literal: true
module ExportHelper
# An EE-overwriteable list of descriptions
def project_export_descriptions
[
_('Project and wiki repositories'),
_('Project uploads'),
2020-07-28 23:09:34 +05:30
_('Project configuration, excluding integrations'),
2019-12-21 20:55:43 +05:30
_('Issues with comments, merge requests with diffs and comments, labels, milestones, snippets, and other project entities'),
_('LFS objects'),
2020-05-24 23:13:21 +05:30
_('Issue Boards'),
_('Design Management files and data')
]
end
def group_export_descriptions
[
_('Milestones'),
_('Labels'),
_('Boards and Board Lists'),
_('Badges'),
_('Subgroups')
2019-12-21 20:55:43 +05:30
]
end
end
ExportHelper.prepend_if_ee('EE::ExportHelper')