diff options
author | guillep2k <18600385+guillep2k@users.noreply.github.com> | 2019-09-20 11:05:05 -0300 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2019-09-20 22:05:05 +0800 |
commit | 14efd3fb345dea485deec57ca8b2166c3eb01250 (patch) | |
tree | 39053d685a8341d47253172fd1cdf3e14a592d4b /templates | |
parent | 2a2b46c62ee0ac2b42b8bd0f28e05642d0cee25b (diff) | |
download | gitea-14efd3fb345dea485deec57ca8b2166c3eb01250.tar.gz gitea-14efd3fb345dea485deec57ca8b2166c3eb01250.zip |
Change link on issue milestone (#8246)
* Change link on issue milestone
* Fix the sidebar link for milestone
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/issue/view_content/sidebar.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index e50ac0a4b1..c42d8aff7f 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/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> |