mirror of
https://gitee.com/gitea/gitea.git
synced 2024-12-15 18:10:50 +08:00
e81ccc406b
Change all license headers to comply with REUSE specification. Fix #16132 Co-authored-by: flynnnnnnnnnn <flynnnnnnnnnn@github> Co-authored-by: John Olheiser <john.olheiser@gmail.com>
24 lines
601 B
Go
24 lines
601 B
Go
// Copyright 2020 The Gitea Authors. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package setting
|
|
|
|
import "code.gitea.io/gitea/modules/log"
|
|
|
|
// 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 newProject() {
|
|
if err := Cfg.Section("project").MapTo(&Project); err != nil {
|
|
log.Fatal("Failed to map Project settings: %v", err)
|
|
}
|
|
}
|