diff --git a/templates/repo/issue/view_content/pull.tmpl b/templates/repo/issue/view_content/pull.tmpl index 117cd7b7a3..77378ef1bd 100644 --- a/templates/repo/issue/view_content/pull.tmpl +++ b/templates/repo/issue/view_content/pull.tmpl @@ -20,6 +20,7 @@ {{- else if .Issue.PullRequest.CanAutoMerge}}green {{- else}}red{{end}}">{{svg "octicon-git-merge" 40}}
+ {{if .LatestCommitStatus}}
{{template "repo/pulls/status" (dict "CommitStatus" .LatestCommitStatus @@ -29,8 +30,9 @@ "is_context_required" .is_context_required )}}
+ {{end}} {{$showGeneralMergeForm := false}} -
+
{{if .Issue.PullRequest.HasMerged}} {{if .IsPullBranchDeletable}}