0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-07-19 15:00:52 +02:00
This commit is contained in:
Philip Peterson 2025-05-27 20:38:27 -07:00
parent da75b09c90
commit 845a290fcd
2 changed files with 2 additions and 5 deletions

View File

@ -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),

View File

@ -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