From 34132fdd2aaffe5c4e0bec09b7423cb6d49ba6c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=99=BA=E8=B6=85?= <1012112796@qq.com> Date: Thu, 23 Apr 2020 21:54:48 +0800 Subject: [PATCH] [ui] Chang icon type for review action in action page * 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 b5b49874276db..f7e703b303c37 100644 --- a/modules/templates/helper.go +++ b/modules/templates/helper.go @@ -557,11 +557,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" } }