Skip to content

Commit 34132fd

Browse files
authored
[ui] Chang icon type for review action in action page
* as title, do same changs on action view with go-gitea#10737 * chage default icon from "invalid type" to "question" , because "invalid type" is not a meaningfull icon type Signed-off-by: a1012112796 <[email protected]>
1 parent 9b7737d commit 34132fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/templates/helper.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -557,11 +557,11 @@ func ActionIcon(opType models.ActionType) string {
557557
case models.ActionMirrorSyncPush, models.ActionMirrorSyncCreate, models.ActionMirrorSyncDelete:
558558
return "repo-clone"
559559
case models.ActionApprovePullRequest:
560-
return "eye"
560+
return "check"
561561
case models.ActionRejectPullRequest:
562-
return "x"
562+
return "request-changes"
563563
default:
564-
return "invalid type"
564+
return "question"
565565
}
566566
}
567567

0 commit comments

Comments
 (0)