diff --git a/templates/projects/view.tmpl b/templates/projects/view.tmpl index 014a74831..a7209e0c2 100644 --- a/templates/projects/view.tmpl +++ b/templates/projects/view.tmpl @@ -192,24 +192,8 @@ {{end}}
- - {{if .IsPull}} - {{if .PullRequest.HasMerged}} - {{svg "octicon-git-merge" 16 "text purple"}} - {{else}} - {{if .IsClosed}} - {{svg "octicon-git-pull-request" 16 "text red"}} - {{else}} - {{svg "octicon-git-pull-request" 16 "text green"}} - {{end}} - {{end}} - {{else}} - {{if .IsClosed}} - {{svg "octicon-issue-closed" 16 "text red"}} - {{else}} - {{svg "octicon-issue-opened" 16 "text green"}} - {{end}} - {{end}} + + {{template "shared/issueicon" .}} {{.Title}} diff --git a/templates/repo/projects/view.tmpl b/templates/repo/projects/view.tmpl index f297470d2..aa7625283 100644 --- a/templates/repo/projects/view.tmpl +++ b/templates/repo/projects/view.tmpl @@ -198,24 +198,8 @@ {{end}}