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
6
6
import (
7
7
"code.gitea.io/gitea/models/db"
8
8
user_model "code.gitea.io/gitea/models/user"
9
- "code.gitea.io/gitea/modules/base"
10
9
"code.gitea.io/gitea/modules/context"
11
10
"code.gitea.io/gitea/modules/setting"
12
11
"code.gitea.io/gitea/modules/structs"
13
12
)
14
13
15
- const (
16
- // tplExploreOrganizations explore organizations page template
17
- tplExploreOrganizations base.TplName = "explore/organizations"
18
- )
19
-
20
14
// Organizations render explore organizations page
21
15
func Organizations (ctx * context.Context ) {
22
16
ctx .Data ["UsersIsDisabled" ] = setting .Service .Explore .DisableUsersPage
@@ -39,5 +33,5 @@ func Organizations(ctx *context.Context) {
39
33
Type : user_model .UserTypeOrganization ,
40
34
ListOptions : db.ListOptions {PageSize : setting .UI .ExplorePagingNum },
41
35
Visible : visibleTypes ,
42
- }, tplExploreOrganizations )
36
+ }, tplExploreUsers )
43
37
}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments