bench-forgejo/templates/repo/forks.tmpl
Gusted c3e020ca34
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.
2021-11-18 22:45:56 +08:00

24 lines
540 B
Handlebars

{{template "base/head" .}}
<div class="page-content repository forks">
{{template "repo/header" .}}
<div class="ui container">
<h2 class="ui dividing header">
{{.i18n.Tr "repo.forks"}}
</h2>
<div class="ui list">
{{range .Forks}}
<div class="item">
{{avatar .Owner}}
<div class="link">
<a href="{{.Owner.HomeLink}}">{{.Owner.Name}}</a>
/
<a href="{{.Link}}">{{.Name}}</a>
</div>
</div>
{{end}}
</div>
</div>
{{ template "base/paginate" . }}
</div>
{{template "base/footer" .}}