You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

project.go 673B

123456789101112131415161718192021222324
  1. // Copyright 2020 The Gitea Authors. All rights reserved.
  2. // Use of this source code is governed by a MIT-style
  3. // license that can be found in the LICENSE file.
  4. package setting
  5. import "code.gitea.io/gitea/modules/log"
  6. // Project settings
  7. var (
  8. Project = struct {
  9. ProjectBoardBasicKanbanType []string
  10. ProjectBoardBugTriageType []string
  11. }{
  12. ProjectBoardBasicKanbanType: []string{"To Do", "In Progress", "Done"},
  13. ProjectBoardBugTriageType: []string{"Needs Triage", "High Priority", "Low Priority", "Closed"},
  14. }
  15. )
  16. func newProject() {
  17. if err := Cfg.Section("project").MapTo(&Project); err != nil {
  18. log.Fatal("Failed to map Project settings: %v", err)
  19. }
  20. }