0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-25 05:42:49 +01:00

Change link on issue milestone (#8246)

* Change link on issue milestone

* Fix the sidebar link for milestone
This commit is contained in:
guillep2k 2019-09-20 11:05:05 -03:00 committed by Lunny Xiao
parent 2a2b46c62e
commit 14efd3fb34

View file

@ -60,7 +60,7 @@
<span class="no-select item {{if .Issue.Milestone}}hide{{end}}">{{.i18n.Tr "repo.issues.new.no_milestone"}}</span>
<div class="selected">
{{if .Issue.Milestone}}
<a class="item" href="{{.RepoLink}}/issues?milestone={{.Issue.Milestone.ID}}"> {{.Issue.Milestone.Name}}</a>
<a class="item" href="{{.RepoLink}}/milestone/{{.Issue.Milestone.ID}}"> {{.Issue.Milestone.Name}}</a>
{{end}}
</div>
</div>