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