File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed
Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -6,17 +6,11 @@ package explore
66import (
77 "code.gitea.io/gitea/models/db"
88 user_model "code.gitea.io/gitea/models/user"
9- "code.gitea.io/gitea/modules/base"
109 "code.gitea.io/gitea/modules/context"
1110 "code.gitea.io/gitea/modules/setting"
1211 "code.gitea.io/gitea/modules/structs"
1312)
1413
15- const (
16- // tplExploreOrganizations explore organizations page template
17- tplExploreOrganizations base.TplName = "explore/organizations"
18- )
19-
2014// Organizations render explore organizations page
2115func Organizations (ctx * context.Context ) {
2216 ctx .Data ["UsersIsDisabled" ] = setting .Service .Explore .DisableUsersPage
@@ -39,5 +33,5 @@ func Organizations(ctx *context.Context) {
3933 Type : user_model .UserTypeOrganization ,
4034 ListOptions : db.ListOptions {PageSize : setting .UI .ExplorePagingNum },
4135 Visible : visibleTypes ,
42- }, tplExploreOrganizations )
36+ }, tplExploreUsers )
4337}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments