mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-16 10:28:24 -07:00
Merge pull request #2398 from nanoant/patch/fix-refurl-arg
commit.RefUrl expects AppUrl argument
This commit is contained in:
commit
cb92af4a6c
@ -31,7 +31,7 @@
|
|||||||
<td>
|
<td>
|
||||||
<span class="icon octicon octicon-file-submodule"></span>
|
<span class="icon octicon octicon-file-submodule"></span>
|
||||||
{{if $commit.RefUrl AppUrl}}
|
{{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}}
|
{{else}}
|
||||||
{{$entry.Name}} @ {{ShortSha $commit.RefId}}
|
{{$entry.Name}} @ {{ShortSha $commit.RefId}}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
Loading…
Reference in New Issue
Block a user