diff options
author | Steven <soud@protonmail.com> | 2015-10-01 15:17:27 +0200 |
---|---|---|
committer | Steven <soud@protonmail.com> | 2015-10-01 15:51:46 +0200 |
commit | c8aa9c6cb1ed79398b825c6110b5a6a7002d1a35 (patch) | |
tree | 3da97bdcac380cb5af2f43a063b8466b58f63313 /templates/repo/forks.tmpl | |
parent | e0a099ec112e2746ec1f6dcd3276d19e14e50b06 (diff) | |
download | gitea-c8aa9c6cb1ed79398b825c6110b5a6a7002d1a35.tar.gz gitea-c8aa9c6cb1ed79398b825c6110b5a6a7002d1a35.zip |
implemented #1721: see users who forked/starred/watched a repository
Diffstat (limited to 'templates/repo/forks.tmpl')
-rw-r--r-- | templates/repo/forks.tmpl | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/templates/repo/forks.tmpl b/templates/repo/forks.tmpl new file mode 100644 index 0000000000..d1fd0320c0 --- /dev/null +++ b/templates/repo/forks.tmpl @@ -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" .}} |