From 169bb55ec68eed40aa2e87d34ff8b38874394c25 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Wed, 29 Jan 2020 19:54:34 +0100 Subject: [PATCH] [UI] Show pull icon on pull (#10061) * make fmt * show pull icon on pull --- modules/graceful/manager_windows.go | 2 +- templates/repo/issue/view_title.tmpl | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/graceful/manager_windows.go b/modules/graceful/manager_windows.go index cb4475ebb2..d412e94f9a 100644 --- a/modules/graceful/manager_windows.go +++ b/modules/graceful/manager_windows.go @@ -43,7 +43,7 @@ type Manager struct { runningServerWaitGroup sync.WaitGroup createServerWaitGroup sync.WaitGroup terminateWaitGroup sync.WaitGroup - shutdownRequested chan struct{} + shutdownRequested chan struct{} } func newGracefulManager(ctx context.Context) *Manager { diff --git a/templates/repo/issue/view_title.tmpl b/templates/repo/issue/view_title.tmpl index 635638f325..11bede3713 100644 --- a/templates/repo/issue/view_title.tmpl +++ b/templates/repo/issue/view_title.tmpl @@ -20,6 +20,8 @@
{{.i18n.Tr "repo.pulls.merged"}}
{{else if .Issue.IsClosed}}
{{.i18n.Tr "repo.issues.closed_title"}}
+ {{else if .Issue.IsPull}} +
{{.i18n.Tr "repo.issues.open_title"}}
{{else}}
{{.i18n.Tr "repo.issues.open_title"}}
{{end}}