mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-06-24 11:00:02 +02:00
Backport #31130 by @lunny Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> (cherry picked from commit e6bacf1fed57e33fcbbb7d57782bfc5daa8f2fee)
This commit is contained in:
parent
ebf1ba683b
commit
3bdf9eae01
5 changed files with 5 additions and 0 deletions
|
@ -94,6 +94,7 @@ func UnadoptedRepos(ctx *context.Context) {
|
|||
repoNames, count, err := repo_service.ListUnadoptedRepositories(ctx, q, &opts)
|
||||
if err != nil {
|
||||
ctx.ServerError("ListUnadoptedRepositories", err)
|
||||
return
|
||||
}
|
||||
ctx.Data["Dirs"] = repoNames
|
||||
pager := context.NewPagination(count, opts.PageSize, opts.Page, 5)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue