loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

caicandong and committed by
GitHub
ab72f7ee b3c71ec6

+1 -1
+1 -1
templates/repo/issue/view_content/pull.tmpl
··· 13 13 {{- else if .IsBlockedByOutdatedBranch}}red 14 14 {{- else if .IsBlockedByChangedProtectedFiles}}red 15 15 {{- else if and .EnableStatusCheck (or .RequiredStatusCheckState.IsFailure .RequiredStatusCheckState.IsError)}}red 16 - {{- else if and .EnableStatusCheck (or (not $.LatestCommitStatus) .RequiredStatusCheckState.IsPending .RequiredStatusCheckState.IsWarning)}}yellow 16 + {{- else if and .EnableStatusCheck (or (not $.LatestCommitStatus) .RequiredStatusCheckState.IsPending)}}yellow 17 17 {{- else if and .AllowMerge .RequireSigned (not .WillSign)}}red 18 18 {{- else if .Issue.PullRequest.IsChecking}}yellow 19 19 {{- else if .Issue.PullRequest.IsEmpty}}grey