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
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@
<span class="no-select item {{if .Issue.Milestone}}hide{{end}}">{{.i18n.Tr "repo.issues.new.no_milestone"}}</span> <span class="no-select item {{if .Issue.Milestone}}hide{{end}}">{{.i18n.Tr "repo.issues.new.no_milestone"}}</span>
<div class="selected"> <div class="selected">
{{if .Issue.Milestone}} {{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}} {{end}}
</div> </div>
</div> </div>