2018-12-23 12:14:25 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2016-09-13 17:45:13 +05:30
|
|
|
module Gitlab
|
|
|
|
module Template
|
|
|
|
class IssueTemplate < BaseTemplate
|
|
|
|
class << self
|
|
|
|
def extension
|
|
|
|
'.md'
|
|
|
|
end
|
|
|
|
|
|
|
|
def base_dir
|
|
|
|
'.gitlab/issue_templates/'
|
|
|
|
end
|
|
|
|
|
|
|
|
def finder(project)
|
|
|
|
Gitlab::Template::Finders::RepoTemplateFinder.new(project, self.base_dir, self.extension, self.categories)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|