diff options
author | Antoine GIRARD <sapk@sapk.fr> | 2015-09-25 18:13:38 +0200 |
---|---|---|
committer | Antoine GIRARD <sapk@sapk.fr> | 2015-09-25 18:13:38 +0200 |
commit | 14a11011390000cc21d134c3e612dda0fb9f490c (patch) | |
tree | d059e810efbb0b218b88ff719a84d8b10d9c6fb8 /modules | |
parent | 4f8b20995694a21cdde1c2be3b86de8186fe3f42 (diff) | |
download | gitea-14a11011390000cc21d134c3e612dda0fb9f490c.tar.gz gitea-14a11011390000cc21d134c3e612dda0fb9f490c.zip |
New admin notice UI based on user list example
Diffstat (limited to 'modules')
-rw-r--r-- | modules/setting/setting.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go index c326ed3794..1d6bf4d62b 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -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"}) |