瀏覽代碼

Fix bug on template (#29887)

Caused by #29807
Fix #29886
tags/v1.21.9
Lunny Xiao 3 月之前
父節點
當前提交
440be51a45
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      templates/shared/issueicon.tmpl

+ 2
- 2
templates/shared/issueicon.tmpl 查看文件

@@ -7,9 +7,9 @@
{{if .IsClosed}}
{{svg "octicon-git-pull-request" 16 "text red"}}
{{else}}
{{if and .PullRequest .PullRequest.IsWorkInProgress ctx}}
{{if and .PullRequest (.PullRequest.IsWorkInProgress ctx)}}
{{svg "octicon-git-pull-request-draft" 16 "text grey"}}
{{else if and .GetPullRequest .GetPullRequest.IsWorkInProgress ctx}}
{{else if and .GetPullRequest (.GetPullRequest.IsWorkInProgress ctx)}}
{{svg "octicon-git-pull-request-draft" 16 "text grey"}}
{{else}}
{{svg "octicon-git-pull-request" 16 "text green"}}

Loading…
取消
儲存