From d3fc9c08c81d8a24ccaaacdb0e6eb0b2619691cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=99=BA=E8=B6=85?= <1012112796@qq.com> Date: Fri, 24 Apr 2020 12:58:14 +0800 Subject: [PATCH] [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: a1012112796 <1012112796@qq.com> --- modules/templates/helper.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/templates/helper.go b/modules/templates/helper.go index 8112880f43..a4916e53e6 100644 --- a/modules/templates/helper.go +++ b/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" } }