mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-09 03:11:51 +01:00
a370efc13f
Introduce `AvatarUtils`, no need to pass `$.Context` to every sub-template, and simplify the template helper functions.
18 lines
548 B
Handlebars
18 lines
548 B
Handlebars
{{template "base/head" .}}
|
|
<div role="main" aria-label="{{.Title}}" class="page-content repository forks">
|
|
{{template "repo/header" .}}
|
|
<div class="ui container">
|
|
<h2 class="ui dividing header">
|
|
{{.locale.Tr "repo.forks"}}
|
|
</h2>
|
|
{{range .Forks}}
|
|
<div class="gt-df gt-ac gt-py-3">
|
|
<span class="gt-mr-2">{{ctx.AvatarUtils.Avatar .Owner}}</span>
|
|
<a href="{{.Owner.HomeLink}}">{{.Owner.Name}}</a> / <a href="{{.Link}}">{{.Name}}</a>
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
|
|
{{template "base/paginate" .}}
|
|
</div>
|
|
{{template "base/footer" .}}
|