diff options
author | 赵智超 <1012112796@qq.com> | 2020-04-24 12:58:14 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-24 01:58:14 -0300 |
commit | d3fc9c08c81d8a24ccaaacdb0e6eb0b2619691cf (patch) | |
tree | 4641c7179b10e570bf43c9223d60cec685590c3a /modules/templates/helper.go | |
parent | b10c416f9e72da39fb5f7398c7c67faaab008a5e (diff) | |
download | gitea-d3fc9c08c81d8a24ccaaacdb0e6eb0b2619691cf.tar.gz gitea-d3fc9c08c81d8a24ccaaacdb0e6eb0b2619691cf.zip |
[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>
Diffstat (limited to 'modules/templates/helper.go')
-rw-r--r-- | modules/templates/helper.go | 6 |
1 files 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" } } |