Skip to content

Commit 169bb55

Browse files
authored
[UI] Show pull icon on pull (#10061)
* make fmt * show pull icon on pull
1 parent e2c505f commit 169bb55

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

modules/graceful/manager_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ type Manager struct {
4343
runningServerWaitGroup sync.WaitGroup
4444
createServerWaitGroup sync.WaitGroup
4545
terminateWaitGroup sync.WaitGroup
46-
shutdownRequested chan struct{}
46+
shutdownRequested chan struct{}
4747
}
4848

4949
func newGracefulManager(ctx context.Context) *Manager {

templates/repo/issue/view_title.tmpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
<div class="ui purple large label"><i class="octicon octicon-git-pull-request"></i> {{.i18n.Tr "repo.pulls.merged"}}</div>
2121
{{else if .Issue.IsClosed}}
2222
<div class="ui red large label"><i class="octicon octicon-issue-closed"></i> {{.i18n.Tr "repo.issues.closed_title"}}</div>
23+
{{else if .Issue.IsPull}}
24+
<div class="ui green large label"><i class="octicon octicon-git-pull-request"></i> {{.i18n.Tr "repo.issues.open_title"}}</div>
2325
{{else}}
2426
<div class="ui green large label"><i class="octicon octicon-issue-opened"></i> {{.i18n.Tr "repo.issues.open_title"}}</div>
2527
{{end}}

0 commit comments

Comments
 (0)