summaryrefslogtreecommitdiffstats
path: root/templates/repo/forks.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/forks.tmpl')
-rw-r--r--templates/repo/forks.tmpl27
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" .}}