mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-29 12:04:17 +00:00
c3e020ca34
- 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.
25 lines
540 B
Handlebars
25 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" .}}
|