diff --git a/templates/repo/issue/milestone_issues.tmpl b/templates/repo/issue/milestone_issues.tmpl index 00d335da7d..8aecf8d773 100644 --- a/templates/repo/issue/milestone_issues.tmpl +++ b/templates/repo/issue/milestone_issues.tmpl @@ -188,7 +188,33 @@ {{end}} -
#{{.Index}}
+ + {{if .IsClosed}} + {{if .IsPull}} + {{if .PullRequest.HasMerged}} +
#{{.Index}}
+ {{svg "octicon-git-pull-request" 16}} + {{else}} +
#{{.Index}}
+ {{svg "octicon-git-pull-request" 16}} + {{end}} + {{else}} +
#{{.Index}}
+ {{svg "octicon-issue-closed" 16}} + {{end}} + {{else}} + {{if .IsRead}} +
#{{.Index}}
+ {{else}} +
#{{.Index}}
+ {{end}} + {{if .IsPull}} + {{svg "octicon-git-pull-request" 16}} + {{else}} + {{svg "octicon-issue-opened" 16}} + {{end}} + {{end}} + {{.Title | RenderEmoji}} {{if .IsPull }}