Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-24 02:36:10 +01:00
forgejo/modules/setting/project.go

20 lines
510 B
Go
Raw Normal View History

// Copyright 2020 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
package setting
// Project settings
var (
Project = struct {
ProjectBoardBasicKanbanType []string
ProjectBoardBugTriageType []string
}{
ProjectBoardBasicKanbanType: []string{"To Do", "In Progress", "Done"},
ProjectBoardBugTriageType: []string{"Needs Triage", "High Priority", "Low Priority", "Closed"},
}
)
func loadProjectFrom(rootCfg ConfigProvider) {
mustMapSetting(rootCfg, "project", &Project)
}