瀏覽代碼

Merge pull request #2398 from nanoant/patch/fix-refurl-arg

commit.RefUrl expects AppUrl argument
Unknwon 9 年之前
父節點
當前提交
cb92af4a6c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      templates/repo/view_list.tmpl

+ 1 - 1
templates/repo/view_list.tmpl

@@ -31,7 +31,7 @@
 					<td>
 						<span class="icon octicon octicon-file-submodule"></span>
 						{{if $commit.RefUrl AppUrl}}
-							<a href="{{$commit.RefUrl}}">{{$entry.Name}}</a> @ <a href="{{$commit.RefUrl}}/commit/{{$commit.RefId}}">{{ShortSha $commit.RefId}}</a>
+							<a href="{{$commit.RefUrl AppUrl}}">{{$entry.Name}}</a> @ <a href="{{$commit.RefUrl AppUrl}}/commit/{{$commit.RefId}}">{{ShortSha $commit.RefId}}</a>
 						{{else}}
 							{{$entry.Name}} @ {{ShortSha $commit.RefId}}
 						{{end}}