0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-06-02 10:39:50 +02:00

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

* Fix broken link to branch from issue list

* Update templates/repo/issue/list.tmpl

Co-Authored-By: mrsdizzie <info@mrsdizzie.com>

* apply @mrsdizzie's review
This commit is contained in:
Vedran 2019-11-15 12:38:54 +01:00 committed by zeripath
parent c0c2624079
commit 97dc314652

View file

@ -246,7 +246,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}}