mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	remove IsWarning in tmpl (#26120)
This problem occurs because in #25839, the warning status has been removed, but there is something in the tmpl that hasn't been changed. related #25839 close #26118
This commit is contained in:
		@@ -13,7 +13,7 @@
 | 
				
			|||||||
	{{- else if .IsBlockedByOutdatedBranch}}red
 | 
						{{- else if .IsBlockedByOutdatedBranch}}red
 | 
				
			||||||
	{{- else if .IsBlockedByChangedProtectedFiles}}red
 | 
						{{- else if .IsBlockedByChangedProtectedFiles}}red
 | 
				
			||||||
	{{- else if and .EnableStatusCheck (or .RequiredStatusCheckState.IsFailure .RequiredStatusCheckState.IsError)}}red
 | 
						{{- else if and .EnableStatusCheck (or .RequiredStatusCheckState.IsFailure .RequiredStatusCheckState.IsError)}}red
 | 
				
			||||||
	{{- else if and .EnableStatusCheck (or (not $.LatestCommitStatus) .RequiredStatusCheckState.IsPending .RequiredStatusCheckState.IsWarning)}}yellow
 | 
						{{- else if and .EnableStatusCheck (or (not $.LatestCommitStatus) .RequiredStatusCheckState.IsPending)}}yellow
 | 
				
			||||||
	{{- else if and .AllowMerge .RequireSigned (not .WillSign)}}red
 | 
						{{- else if and .AllowMerge .RequireSigned (not .WillSign)}}red
 | 
				
			||||||
	{{- else if .Issue.PullRequest.IsChecking}}yellow
 | 
						{{- else if .Issue.PullRequest.IsChecking}}yellow
 | 
				
			||||||
	{{- else if .Issue.PullRequest.IsEmpty}}grey
 | 
						{{- else if .Issue.PullRequest.IsEmpty}}grey
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user