1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-28 13:18:37 +00:00

Forks repository list page follow other repositories page (#34784)

Replace #24130 

Before:


![image](https://github.com/user-attachments/assets/98c39bce-bdbf-4fc1-b476-527c5139e01f)

After:

![image](https://github.com/user-attachments/assets/65fef5b8-63b9-4283-b8ea-2ac2f27cb001)
This commit is contained in:
Lunny Xiao
2025-06-22 03:27:25 +08:00
committed by GitHub
parent 0548c10293
commit ddd1e6ca83
12 changed files with 26 additions and 27 deletions

View File

@@ -394,9 +394,10 @@ func Forks(ctx *context.Context) {
}
pager := context.NewPagination(int(total), pageSize, page, 5)
ctx.Data["ShowRepoOwnerAvatar"] = true
ctx.Data["ShowRepoOwnerOnList"] = true
ctx.Data["Page"] = pager
ctx.Data["Forks"] = forks
ctx.Data["Repos"] = forks
ctx.HTML(http.StatusOK, tplForks)
}