mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-24 11:31:54 +01: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.
24 lines
540 B
Handlebars
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" .}}
|