Skip to content

Commit

Permalink
[ui] Chang icon type for review action in action page
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
a1012112796 committed Apr 23, 2020
1 parent 9b7737d commit 34132fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/templates/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

Expand Down

0 comments on commit 34132fd

Please sign in to comment.