1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-24 17:44:27 +00:00

Fix broken link to branch from issue list (#9003) (#9021)

* Fix broken link to branch from issue list

* Update templates/repo/issue/list.tmpl
This commit is contained in:
6543 2019-11-15 15:10:28 +01:00 committed by zeripath
parent fd461ca555
commit 880f26c7f0

View File

@ -245,7 +245,7 @@
</a>
{{end}}
{{if .Ref}}
<a class="ref" href="{{$.RepoLink}}/src/branch/{{.Ref}}">
<a class="ref" href="{{$.RepoLink}}/src/branch/{{.Ref | PathEscapeSegments}}">
<span class="octicon octicon-git-branch"></span> {{.Ref}}
</a>
{{end}}