1
0
Fork 0
forked from forgejo/forgejo

New admin notice UI based on user list example

This commit is contained in:
Antoine GIRARD 2015-09-25 18:13:38 +02:00
parent 4f8b209956
commit 14a1101139
5 changed files with 83 additions and 63 deletions

View file

@ -94,6 +94,7 @@ var (
ExplorePagingNum int
IssuePagingNum int
AdminUserPagingNum int
AdminNoticePagingNum int
// Markdown sttings.
Markdown struct {
@ -370,6 +371,7 @@ func NewContext() {
sec = Cfg.Section("ui.admin")
AdminUserPagingNum = sec.Key("USER_PAGING_NUM").MustInt(50)
AdminNoticePagingNum = sec.Key("NOTICE_PAGING_NUM").MustInt(50)
sec = Cfg.Section("picture")
PictureService = sec.Key("SERVICE").In("server", []string{"server"})