Browse Source

templates/repo/view: fix bad link

Unknwon 8 years ago
parent
commit
22e14a0a67
1 changed files with 1 additions and 1 deletions
  1. 1 1
      templates/repo/view_list.tmpl

+ 1 - 1
templates/repo/view_list.tmpl

@@ -44,7 +44,7 @@
 					</td>
 					</td>
 				{{end}}
 				{{end}}
 				<td class="message collapsing has-emoji">
 				<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}}
 					{{RenderCommitMessage false $commit.Summary $.RepoLink $.Repository.ComposeMetas}}
 				</td>
 				</td>
 				<td class="text grey right age">{{TimeSince $commit.Committer.When $.Lang}}</td>
 				<td class="text grey right age">{{TimeSince $commit.Committer.When $.Lang}}</td>