Browse Source

fix issue list branch link broken (#3061)

tags/v1.4.0-rc1
Lunny Xiao Lauris BH 8 years ago
parent
commit
cb44160cbd
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

@@ -172,7 +172,7 @@
<a class="title has-emoji" href="{{$.Link}}/{{.Index}}">{{.Title}}</a>

{{if .Ref}}
<a class="ui label" href="{{$.RepoLink}}/src/commit/{{.Ref}}">{{.Ref}}</a>
<a class="ui label" href="{{$.RepoLink}}/src/branch/{{.Ref}}">{{.Ref}}</a>
{{end}}
{{range .Labels}}
<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>


Loading…
Cancel
Save