diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2018-11-29 09:46:30 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-29 09:46:30 +0800 |
commit | 2dc805c0c6e85099f3f346ba78f3a52abf032ce4 (patch) | |
tree | 2adeae8beaa207c80908914d3f6e48d82e2ae21d /templates/repo/issue/milestones.tmpl | |
parent | d5d847e5c4f0cf1470fc51f96d57917e4d9f5d83 (diff) | |
download | gitea-2dc805c0c6e85099f3f346ba78f3a52abf032ce4.tar.gz gitea-2dc805c0c6e85099f3f346ba78f3a52abf032ce4.zip |
Milestone issues and pull requests (#5293)
* add milestone issues and pulls page instead of redirecting issues page
* add milestone when creating issue from milestone page
* refactor to merge similiar codes as a new function issues
* remove milestone info on milestone issues list
* fix missing params
Diffstat (limited to 'templates/repo/issue/milestones.tmpl')
-rw-r--r-- | templates/repo/issue/milestones.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/milestones.tmpl b/templates/repo/issue/milestones.tmpl index 7b98c0cf56..36cbe5a057 100644 --- a/templates/repo/issue/milestones.tmpl +++ b/templates/repo/issue/milestones.tmpl @@ -43,7 +43,7 @@ <div class="milestone list"> {{range .Milestones}} <li class="item"> - <i class="octicon octicon-milestone"></i> <a href="{{$.RepoLink}}/issues?state={{$.State}}&milestone={{.ID}}">{{.Name}}</a> + <i class="octicon octicon-milestone"></i> <a href="{{$.RepoLink}}/milestone/{{.ID}}">{{.Name}}</a> <div class="ui right green progress" data-percent="{{.Completeness}}"> <div class="bar" {{if not .Completeness}}style="background-color: transparent"{{end}}> <div class="progress"></div> |