diff options
author | caicandong <50507092+CaiCandong@users.noreply.github.com> | 2023-07-25 20:09:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-25 12:09:01 +0000 |
commit | ab72f7ee4ab670c640187b841de0671fa5c43a51 (patch) | |
tree | f5b7cd6c72cc4efbf2cd6854db0ebeb07986f6e5 /templates/repo/issue | |
parent | b3c71ec64f12437772c35c48d4471ca8b8f244d5 (diff) | |
download | gitea-ab72f7ee4ab670c640187b841de0671fa5c43a51.tar.gz gitea-ab72f7ee4ab670c640187b841de0671fa5c43a51.zip |
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
Diffstat (limited to 'templates/repo/issue')
-rw-r--r-- | templates/repo/issue/view_content/pull.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/view_content/pull.tmpl b/templates/repo/issue/view_content/pull.tmpl index 3666154b20..214d77a12d 100644 --- a/templates/repo/issue/view_content/pull.tmpl +++ b/templates/repo/issue/view_content/pull.tmpl @@ -13,7 +13,7 @@ {{- else if .IsBlockedByOutdatedBranch}}red {{- else if .IsBlockedByChangedProtectedFiles}}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 .Issue.PullRequest.IsChecking}}yellow {{- else if .Issue.PullRequest.IsEmpty}}grey |