mirror of
https://gitee.com/gitea/gitea.git
synced 2024-12-05 05:08:02 +08: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" .}}
|