summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-08-30 13:59:41 -0700
committerUnknwon <u@gogs.io>2016-08-30 13:59:41 -0700
commit22e14a0a67fe0404a5de4e02ca23e474eb11a783 (patch)
tree2c00329cb1abc4e7d18a19603e3ecc60e05a23ec
parent48a0b5b026e6f465e6baaafacece5355e1229866 (diff)
downloadgitea-22e14a0a67fe0404a5de4e02ca23e474eb11a783.tar.gz
gitea-22e14a0a67fe0404a5de4e02ca23e474eb11a783.zip
templates/repo/view: fix bad link
-rw-r--r--templates/repo/view_list.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl
index 19a18c1ca4..0881ce9938 100644
--- a/templates/repo/view_list.tmpl
+++ b/templates/repo/view_list.tmpl
@@ -44,7 +44,7 @@
</td>
{{end}}
<td class="message collapsing has-emoji">
- <a rel="nofollow" class="ui sha label" href="{{AppSubUrl}}/{{$.Username}}/{{$.Reponame}}/commit/{{$commit.ID}}">{{ShortSha $commit.ID.String}}</a>
+ <a rel="nofollow" class="ui sha label" href="{{$.RepoLink}}/commit/{{$commit.ID}}">{{ShortSha $commit.ID.String}}</a>
{{RenderCommitMessage false $commit.Summary $.RepoLink $.Repository.ComposeMetas}}
</td>
<td class="text grey right age">{{TimeSince $commit.Committer.When $.Lang}}</td>