瀏覽代碼

[ui] Change icon type for review action in action page (#11191)

* as title, do same changs on action view with #10737
* chage default icon from "invalid type" to "question" , because  "invalid type" is not a meaningfull icon type

Signed-off-by: a101211279 <1012112796@qq.com>
tags/v1.13.0-dev
赵智超 4 年之前
父節點
當前提交
d3fc9c08c8
No account linked to committer's email address
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      modules/templates/helper.go

+ 3
- 3
modules/templates/helper.go 查看文件

@@ -564,11 +564,11 @@ func ActionIcon(opType models.ActionType) string {
case models.ActionMirrorSyncPush, models.ActionMirrorSyncCreate, models.ActionMirrorSyncDelete:
return "repo-clone"
case models.ActionApprovePullRequest:
return "eye"
return "check"
case models.ActionRejectPullRequest:
return "x"
return "request-changes"
default:
return "invalid type"
return "question"
}
}


Loading…
取消
儲存