summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2017-12-03 03:57:47 +0800
committerLauris BH <lauris@nix.lv>2017-12-02 21:57:47 +0200
commitef5364950ba98ec1bf8dcc44d88f956a6f2ad933 (patch)
tree14854c1aa1aa3311bb49123e9c3fa81fc5a059f5 /templates
parentd44aa831f32b0be3efde6138d77fbb8f59cda30e (diff)
downloadgitea-ef5364950ba98ec1bf8dcc44d88f956a6f2ad933.tar.gz
gitea-ef5364950ba98ec1bf8dcc44d88f956a6f2ad933.zip
fix issue list branch link broken (#3061)
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/issue/list.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl
index 7759a2cd62..bb6170a881 100644
--- a/templates/repo/issue/list.tmpl
+++ b/templates/repo/issue/list.tmpl
@@ -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>