mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-09-19 01:05:55 +00:00
implemented #1721: see users who forked/starred/watched a repository
This commit is contained in:
parent
e0a099ec11
commit
c8aa9c6cb1
10 changed files with 476 additions and 0 deletions
27
templates/repo/forks.tmpl
Normal file
27
templates/repo/forks.tmpl
Normal file
|
@ -0,0 +1,27 @@
|
|||
{{template "ng/base/head" .}}
|
||||
{{template "ng/base/header" .}}
|
||||
<div id="repo-wrapper">
|
||||
{{template "repo/header_old" .}}
|
||||
<div id="repo-content" class="clear container">
|
||||
<div id="repo-main" class="left grid-5-6">
|
||||
<div id="forks">
|
||||
<h4>
|
||||
<strong>{{.i18n.Tr "repos.forks"}}</strong>
|
||||
</h4>
|
||||
|
||||
<ol>
|
||||
{{range .Forks}}
|
||||
<p>
|
||||
<img class="avatar-small" src="{{.Owner.AvatarLink}}">
|
||||
<a href="{{AppSubUrl}}/{{.Owner.Name}}">{{.Owner.Name}}</a>
|
||||
/
|
||||
<a href="{{AppSubUrl}}/{{.Owner.Name}}/{{.Name}}">{{.Name}}</a>
|
||||
</p>
|
||||
{{end}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{template "repo/sidebar" .}}
|
||||
</div>
|
||||
</div>
|
||||
{{template "ng/base/footer" .}}
|
Loading…
Add table
Add a link
Reference in a new issue