diff options
author | zeripath <art27@cantab.net> | 2020-08-02 09:18:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-02 09:18:09 +0100 |
commit | 15300699c4529dd25051d4fd2225c46aeff095fe (patch) | |
tree | 0923aa4550a30a3e9439a6050fb8e21cc66d9acb /templates/user/dashboard/issues.tmpl | |
parent | bac65f1b826be84d132420f1acd3a384dd3a8db8 (diff) | |
download | gitea-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/user/dashboard/issues.tmpl')
-rw-r--r-- | templates/user/dashboard/issues.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/dashboard/issues.tmpl b/templates/user/dashboard/issues.tmpl index 6acb9c0607..8876553ab5 100644 --- a/templates/user/dashboard/issues.tmpl +++ b/templates/user/dashboard/issues.tmpl @@ -142,7 +142,7 @@ {{$.i18n.Tr .GetLastEventLabelFake $timeStr (.Poster.GetDisplayName|Escape) | Safe}} {{end}} {{if .Milestone}} - <a class="milestone" href="{{AppSubUrl}}/{{.Repo.Owner.Name}}/{{.Repo.Name}}{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&state={{$.State}}&labels={{$.SelectLabels}}&milestone={{.Milestone.ID}}&assignee={{$.AssigneeID}}"> + <a class="milestone" href="{{AppSubUrl}}/{{.Repo.Owner.Name}}/{{.Repo.Name}}/milestone/{{.Milestone.ID}}"> {{svg "octicon-milestone" 16}} {{.Milestone.Name}} </a> {{end}} |