aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
author无闻 <joe2010xtmf@163.com>2014-05-13 17:53:25 -0400
committer无闻 <joe2010xtmf@163.com>2014-05-13 17:53:25 -0400
commitf276b37bbbb2fbfb8fd1bcaf7dfff5715861e81c (patch)
treef54b9c0bc017038f7724a509c25a6fcdcd98b5e6 /templates
parent5d5c4535cb971f14c2cbde655e7f09d4f6b62eb1 (diff)
parentcca2a53d6f756ac9adee2570703558a545ec2f1f (diff)
Merge pull request #184 from mlitbk/issue-link
Fix issue link in issues page
Diffstat (limited to 'templates')
-rw-r--r--templates/issue/user.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/issue/user.tmpl b/templates/issue/user.tmpl
index f480c63a..d1c2bd99 100644
--- a/templates/issue/user.tmpl
+++ b/templates/issue/user.tmpl
@@ -36,7 +36,7 @@
{{range .Issues}}{{if .}}
<div class="list-group-item issue-item" id="issue-{{.Id}}">
<span class="number pull-right">#{{.Index}}</span>
- <h5 class="title"><a href="/{{$.SignedUser.Name}}/{{.Repo.Name}}/issues/{{.Index}}">{{.Name}}</a></h5>
+ <h5 class="title"><a href="/{{.Repo.Owner.Name}}/{{.Repo.Name}}/issues/{{.Index}}">{{.Name}}</a></h5>
<p class="info">
<span class="author"><img class="avatar" src="{{.Poster.AvatarLink}}" alt="" width="20"/>
<a href="/user/{{.Poster.Name}}">{{.Poster.Name}}</a></span>