blob: 5a2a7d46bdf1c3200da70e0574fd49c299136e2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# frozen_string_literal: true
module Gitlab
class SampleDataTemplate < ProjectTemplate
class << self
def localized_templates_table
[
SampleDataTemplate.new('sample', 'Sample GitLab Project', _('An example project that shows off the best practices for setting up GitLab for your own organization, including sample issues, merge requests, and milestones'), 'https://gitlab.com/gitlab-org/sample-data-templates/sample-gitlab-project')
].freeze
end
def all
localized_templates_table
end
def archive_directory
Rails.root.join("vendor/sample_data_templates")
end
end
end
end
|