瀏覽代碼

templates/repo/view: fix bad link

Unknwon 8 年之前
父節點
當前提交
22e14a0a67
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      templates/repo/view_list.tmpl

+ 1 - 1
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>