{{if .Issue.PullRequest.HasMerged}}
				
	
					{{if .Issue.PullRequest.MergedCommitID}}
						{{$link := printf "%s/commit/%s" $.Repository.HTMLURL .Issue.PullRequest.MergedCommitID}}
						{{$.i18n.Tr "repo.pulls.merged_as" $link (ShortSha .Issue.PullRequest.MergedCommitID) | Safe}}
					{{else}}
						{{$.i18n.Tr "repo.pulls.has_merged"}}
					{{end}}
				
				{{if .IsPullBranchDeletable}}
					
					
				{{end}}
			{{else if .Issue.IsClosed}}
				
					{{if .IsPullRequestBroken}}
						{{$.i18n.Tr "repo.pulls.cant_reopen_deleted_branch"}}
					{{else}}
						{{$.i18n.Tr "repo.pulls.reopen_to_merge"}}
					{{end}}
				
				{{if .IsPullBranchDeletable}}
					
					
				{{end}}
			{{else if .IsPullFilesConflicted}}
				
					
					{{$.i18n.Tr "repo.pulls.files_conflicted"}}
					{{range .ConflictedFiles}}
						
			{{else if .IsPullRequestBroken}}
				{{.}}
					{{end}}
				
					
					{{$.i18n.Tr "repo.pulls.data_broken"}}
				
			{{else if .IsPullWorkInProgress}}
				
					
					{{$.i18n.Tr "repo.pulls.cannot_merge_work_in_progress" .WorkInProgressPrefix | Str2html}}
				
			{{else if .IsBlockedByApprovals}}
				
					
				{{$.i18n.Tr "repo.pulls.blocked_by_approvals" .GrantedApprovals .Issue.PullRequest.ProtectedBranch.RequiredApprovals}}
				
			{{else if .Issue.PullRequest.IsChecking}}
				
					
					{{$.i18n.Tr "repo.pulls.is_checking"}}
				
			{{else if and (not .Issue.PullRequest.CanAutoMerge) .EnableStatusCheck (not .IsRequiredStatusCheckSuccess)}}
				
					
					{{$.i18n.Tr "repo.pulls.required_status_check_failed"}}
				
			{{else if .Issue.PullRequest.CanAutoMerge}}
				{{if and .EnableStatusCheck (not .IsRequiredStatusCheckSuccess)}}
				
					
					{{$.i18n.Tr "repo.pulls.required_status_check_failed"}}
				
				{{end}}
				{{if or $.IsRepoAdmin (not .EnableStatusCheck) .IsRequiredStatusCheckSuccess}}
					{{if and $.IsRepoAdmin .EnableStatusCheck (not .IsRequiredStatusCheckSuccess)}}
						
							
							{{$.i18n.Tr "repo.pulls.required_status_check_administrator"}}
						
					{{else}}
						
							
							{{$.i18n.Tr "repo.pulls.can_auto_merge_desc"}}
						
					{{end}}
					{{if .AllowMerge}}
						{{$prUnit := .Repository.MustGetUnit $.UnitTypePullRequests}}
						{{if or $prUnit.PullRequestsConfig.AllowMerge $prUnit.PullRequestsConfig.AllowRebase $prUnit.PullRequestsConfig.AllowRebaseMerge $prUnit.PullRequestsConfig.AllowSquash}}
							
							{{if $prUnit.PullRequestsConfig.AllowMerge}}
							
							{{end}}
							{{if $prUnit.PullRequestsConfig.AllowRebase}}
							
							{{end}}
							{{if $prUnit.PullRequestsConfig.AllowRebaseMerge}}
							
							{{end}}
							{{if $prUnit.PullRequestsConfig.AllowSquash}}
							
							{{end}}
							
						{{else}}
							
								
								{{$.i18n.Tr "repo.pulls.no_merge_desc"}}
							
							
								
								{{$.i18n.Tr "repo.pulls.no_merge_helper"}}
							
						{{end}}
					{{end}}
				{{end}}
			{{else}}
				
					
					{{$.i18n.Tr "repo.pulls.cannot_auto_merge_desc"}}
				
				
					
					{{$.i18n.Tr "repo.pulls.cannot_auto_merge_helper"}}
				
			{{end}}
		
{{$.i18n.Tr "repo.issues.review.reviewers"}}
{{range .PullReviewersWithType}} {{ $createdStr:= TimeSinceUnix .ReviewUpdatedUnix $.Lang }}