code.gitea.io/gitea@v1.19.3/modules/setting/project.go (about)

     1  // Copyright 2020 The Gitea Authors. All rights reserved.
     2  // SPDX-License-Identifier: MIT
     3  
     4  package setting
     5  
     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  
    17  func loadProjectFrom(rootCfg ConfigProvider) {
    18  	mustMapSetting(rootCfg, "project", &Project)
    19  }