Change link on issue milestone (#8246)

* Change link on issue milestone

* Fix the sidebar link for milestone
tokarchuk/v1.17
guillep2k 5 years ago committed by Lunny Xiao
parent 2a2b46c62e
commit 14efd3fb34
  1. 2
      templates/repo/issue/view_content/sidebar.tmpl

@ -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>

Loading…
Cancel
Save