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:
parent
c0c2624079
commit
97dc314652
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@
|
||||||
</a>
|
</a>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{if .Ref}}
|
{{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}}
|
<span class="octicon octicon-git-branch"></span> {{.Ref}}
|
||||||
</a>
|
</a>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
Reference in a new issue