summaryrefslogtreecommitdiffstats
path: root/templates/repo/nav.tmpl
diff options
context:
space:
mode:
authorslene <vslene@gmail.com>2014-03-15 15:28:06 +0800
committerslene <vslene@gmail.com>2014-03-15 15:28:06 +0800
commit06deed820d9f48ecf972c8716b17ad58b91ab9b9 (patch)
treefc94500dd1dd607d1c6470f89abadcba84bbc285 /templates/repo/nav.tmpl
parente251b9bbca35e01060ac3b2ee0bd836dc7719c19 (diff)
downloadgitea-06deed820d9f48ecf972c8716b17ad58b91ab9b9.tar.gz
gitea-06deed820d9f48ecf972c8716b17ad58b91ab9b9.zip
Add HomeLink and AvatarLink to User model. Please use .SignedUser in template.
Diffstat (limited to 'templates/repo/nav.tmpl')
-rw-r--r--templates/repo/nav.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/nav.tmpl b/templates/repo/nav.tmpl
index 1a9434e860..6637062a84 100644
--- a/templates/repo/nav.tmpl
+++ b/templates/repo/nav.tmpl
@@ -37,6 +37,6 @@
<button type="button" class="btn btn-default"><i class="fa fa-code-fork"></i>Fork&nbsp;&nbsp;{{.Repository.NumForks}}</button>
</div>
</div>
- <h3><i class="fa fa-book fa-lg"></i><a href="/user/{{.Owner.Name}}">{{.Owner.Name}}</a> / {{.Repository.Name}}</h3>
+ <h3><i class="fa fa-book fa-lg"></i><a href="{{.Owner.HomeLink}}">{{.Owner.Name}}</a> / {{.Repository.Name}}</h3>
</div>
</div> \ No newline at end of file