mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-26 02:03:56 +01:00
commit.RefUrl expects AppUrl argument
This is fixup for ea375c0dcc
. The bug was not
visible because commit.RefUrl was always returning empty url due regression
described in https://github.com/gogits/git-module/pull/4
This commit is contained in:
parent
fc4a4d38d1
commit
41fdaabcf7
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue