aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
authorGusted <williamzijl7@hotmail.com>2021-11-18 14:45:56 +0000
committerGitHub <noreply@github.com>2021-11-18 22:45:56 +0800
commitc3e020ca3404cc07e78e13e975eb7e712670e137 (patch)
tree34a4c85222fbb050e18f15fd89c34699ed161931 /templates/repo
parent257b7171c34446e73fc83186f859e9b9ce67be76 (diff)
downloadgitea-c3e020ca3404cc07e78e13e975eb7e712670e137.tar.gz
gitea-c3e020ca3404cc07e78e13e975eb7e712670e137.zip
Add pagination to fork list (#17639)
- Resolves #14574 - Adds the necessary code to have pagination working in the forks list of a repo. The code is mostly in par with the stars/watcher implementation.
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/forks.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/repo/forks.tmpl b/templates/repo/forks.tmpl
index ff6e9949d3..d28dc0aff8 100644
--- a/templates/repo/forks.tmpl
+++ b/templates/repo/forks.tmpl
@@ -18,5 +18,7 @@
{{end}}
</div>
</div>
+
+ {{ template "base/paginate" . }}
</div>
{{template "base/footer" .}}