Browse Source

fix issue list branch link broken (#3061)

Lunny Xiao 2 years ago
parent
commit
ef5364950b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      templates/repo/issue/list.tmpl

+ 1 - 1
templates/repo/issue/list.tmpl

@@ -172,7 +172,7 @@
172 172
 					<a class="title has-emoji" href="{{$.Link}}/{{.Index}}">{{.Title}}</a>
173 173
 
174 174
 					{{if .Ref}}
175
-						<a class="ui label" href="{{$.RepoLink}}/src/commit/{{.Ref}}">{{.Ref}}</a>
175
+						<a class="ui label" href="{{$.RepoLink}}/src/branch/{{.Ref}}">{{.Ref}}</a>
176 176
 					{{end}}
177 177
 					{{range .Labels}}
178 178
 						<a class="ui label" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&state={{$.State}}&labels={{.ID}}&milestone={{$.MilestoneID}}&assignee={{$.AssigneeID}}" style="color: {{.ForegroundColor}}; background-color: {{.Color}}">{{.Name}}</a>