Browse Source

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
tags/v1.11.0-rc1
Vedran 4 years ago
parent
commit
97dc314652
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      templates/repo/issue/list.tmpl

+ 1
- 1
templates/repo/issue/list.tmpl 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}}

Loading…
Cancel
Save