Create menus for organization pages (#17802)
* Create menus for organization pages * Fix frontend lint * Fix frontend lint
This commit is contained in:
parent
71ed96b0d5
commit
49933c7fb0
5 changed files with 39 additions and 24 deletions
|
@ -142,6 +142,7 @@ func Home(ctx *context.Context) {
|
|||
ctx.Data["Members"] = members
|
||||
ctx.Data["Teams"] = ctx.Org.Teams
|
||||
ctx.Data["DisableNewPullMirrors"] = setting.Mirror.DisableNewPull
|
||||
ctx.Data["PageIsViewRepositories"] = true
|
||||
|
||||
pager := context.NewPagination(int(count), setting.UI.User.RepoPagingNum, page, 5)
|
||||
pager.SetDefaultParams(ctx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue