summaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/list.tmpl
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2020-08-02 09:18:09 +0100
committerGitHub <noreply@github.com>2020-08-02 09:18:09 +0100
commit15300699c4529dd25051d4fd2225c46aeff095fe (patch)
tree0923aa4550a30a3e9439a6050fb8e21cc66d9acb /templates/repo/issue/list.tmpl
parentbac65f1b826be84d132420f1acd3a384dd3a8db8 (diff)
downloadgitea-15300699c4529dd25051d4fd2225c46aeff095fe.tar.gz
gitea-15300699c4529dd25051d4fd2225c46aeff095fe.zip
Fix milestone links (#12405)
The milestone pages links should direct to the milestone pages Fix #10215 Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'templates/repo/issue/list.tmpl')
-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 ffc952c8b3..99b298be4d 100644
--- a/templates/repo/issue/list.tmpl
+++ b/templates/repo/issue/list.tmpl
@@ -242,7 +242,7 @@
{{end}}
{{if .Milestone}}
- <a class="milestone" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&state={{$.State}}&labels={{$.SelectLabels}}&milestone={{.Milestone.ID}}&assignee={{$.AssigneeID}}">
+ <a class="milestone" href="{{$.RepoLink}}/milestone/{{.Milestone.ID}}">
{{svg "octicon-milestone" 16}} {{.Milestone.Name}}
</a>
{{end}}