From 6c04140137836dfed8f571f8a1739eccf2ec7145 Mon Sep 17 00:00:00 2001 From: Gary Wang Date: Sun, 17 May 2026 15:29:18 +0800 Subject: [PATCH] feat(web): also display PR counts in repo list (#37739) This is a follow-up PR of https://github.com/go-gitea/gitea/pull/37731 This patch adds PR count in repo list page, following screenshots are after the patch: image image Co-authored-by: Nicolas --- templates/shared/repo/list.tmpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/shared/repo/list.tmpl b/templates/shared/repo/list.tmpl index 6b224ef200..af2f5d9700 100644 --- a/templates/shared/repo/list.tmpl +++ b/templates/shared/repo/list.tmpl @@ -47,6 +47,10 @@ {{CountFmt .NumStars}} {{end}} + + {{svg "octicon-git-pull-request" 16}} + {{CountFmt .NumOpenPulls}} + {{svg "octicon-repo-forked" 16}} {{CountFmt .NumForks}}