mirror of
https://github.com/go-gitea/gitea.git
synced 2025-07-18 04:22:51 +02:00
Cleanup
This commit is contained in:
parent
da75b09c90
commit
845a290fcd
@ -14,7 +14,6 @@ type ExploreUsersPageProps struct {
|
||||
Keyword string
|
||||
SortType string
|
||||
Users []*user.User
|
||||
// ContextUser *user.User
|
||||
Context *context.Context
|
||||
IsSigned bool
|
||||
}
|
||||
@ -47,14 +46,13 @@ func ExploreUsersPage(data ExploreUsersPageProps) g.Node {
|
||||
gh.Class("ui container"),
|
||||
ExploreSearchMenu(data, true),
|
||||
UserList(UserListProps{
|
||||
// ContextUser: data.ContextUser,
|
||||
Context: data.Context,
|
||||
Users: data.Users,
|
||||
IsSigned: data.IsSigned,
|
||||
Locale: data.Locale,
|
||||
PageIsAdminUsers: false,
|
||||
}),
|
||||
// Pagination(data),
|
||||
// TODO Pagination(data),
|
||||
),
|
||||
),
|
||||
g.Raw(footer),
|
||||
|
@ -11,8 +11,7 @@ import (
|
||||
)
|
||||
|
||||
type UserListProps struct {
|
||||
Users []*user.User
|
||||
// ContextUser *user.User
|
||||
Users []*user.User
|
||||
IsSigned bool
|
||||
PageIsAdminUsers bool
|
||||
Locale translation.Locale
|
||||
|
Loading…
x
Reference in New Issue
Block a user