diff options
author | Antoine GIRARD <sapk@sapk.fr> | 2015-09-25 19:54:52 +0200 |
---|---|---|
committer | Antoine GIRARD <sapk@sapk.fr> | 2015-09-25 19:54:52 +0200 |
commit | c98dad1cf3b068f6bbb52a9cd791f2bd180731f2 (patch) | |
tree | b1a704b73a3ceb63f4acec986df9002ffc0b7c0b /modules | |
parent | 1c35380c2c476e8eb5022078262e8cadade4d4c7 (diff) | |
download | gitea-c98dad1cf3b068f6bbb52a9cd791f2bd180731f2.tar.gz gitea-c98dad1cf3b068f6bbb52a9cd791f2bd180731f2.zip |
New admin organization UI
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 1d6bf4d62b..e004b35b47 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -95,6 +95,7 @@ var ( IssuePagingNum int AdminUserPagingNum int AdminNoticePagingNum int + AdminOrgPagingNum int // Markdown sttings. Markdown struct { @@ -372,6 +373,7 @@ func NewContext() { sec = Cfg.Section("ui.admin") AdminUserPagingNum = sec.Key("USER_PAGING_NUM").MustInt(50) AdminNoticePagingNum = sec.Key("NOTICE_PAGING_NUM").MustInt(50) + AdminOrgPagingNum = sec.Key("ORG_PAGING_NUM").MustInt(50) sec = Cfg.Section("picture") PictureService = sec.Key("SERVICE").In("server", []string{"server"}) |