new issue and label page
This commit is contained in:
parent
54b58e988d
commit
1ba837a055
11 changed files with 149 additions and 141 deletions
File diff suppressed because one or more lines are too long
|
@ -82,9 +82,11 @@ var (
|
|||
}
|
||||
|
||||
// Repository settings.
|
||||
RepoRootPath string
|
||||
ScriptType string
|
||||
IssuePagingNum int = 10
|
||||
RepoRootPath string
|
||||
ScriptType string
|
||||
|
||||
// UI settings.
|
||||
IssuePagingNum int
|
||||
|
||||
// Picture settings.
|
||||
PictureService string
|
||||
|
@ -311,6 +313,9 @@ func NewConfigContext() {
|
|||
}
|
||||
ScriptType = sec.Key("SCRIPT_TYPE").MustString("bash")
|
||||
|
||||
// UI settings.
|
||||
IssuePagingNum = Cfg.Section("ui").Key("ISSUE_PAGING_NUM").MustInt(10)
|
||||
|
||||
sec = Cfg.Section("picture")
|
||||
PictureService = sec.Key("SERVICE").In("server", []string{"server"})
|
||||
AvatarUploadPath = sec.Key("AVATAR_UPLOAD_PATH").MustString("data/avatars")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue