diff options
author | 无闻 <u@gogs.io> | 2015-09-25 19:03:53 -0400 |
---|---|---|
committer | 无闻 <u@gogs.io> | 2015-09-25 19:03:53 -0400 |
commit | ee1256cf74f7f42f19fa22f77100aed78ad94987 (patch) | |
tree | 0c5bc5b1ed8215b169a9a66d7bf1457827721374 /modules | |
parent | 0d5e57e4aeaaafcb9ddcaac095a4f187d2eaabb4 (diff) | |
parent | a8fd615adc73bc5d37c753f14ec9738d1590e363 (diff) | |
download | gitea-ee1256cf74f7f42f19fa22f77100aed78ad94987.tar.gz gitea-ee1256cf74f7f42f19fa22f77100aed78ad94987.zip |
Merge pull request #1691 from sapk/fix-admin-organization-new-ui
Fix admin organization new 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"}) |