mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Update dashboard context for PR reviews (#8995)
* Update dashboard context for PR reviews Signed-off-by: jolheiser <john.olheiser@gmail.com> * Update options/locale/locale_en-US.ini Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> * Only append head action if it has content or is approval/rejection Signed-off-by: jolheiser <john.olheiser@gmail.com> * Update options/locale/locale_en-US.ini Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
This commit is contained in:
committed by
Antoine GIRARD
parent
dd1beee2ef
commit
06a8504c78
@@ -555,6 +555,10 @@ func ActionIcon(opType models.ActionType) string {
|
||||
return "issue-reopened"
|
||||
case models.ActionMirrorSyncPush, models.ActionMirrorSyncCreate, models.ActionMirrorSyncDelete:
|
||||
return "repo-clone"
|
||||
case models.ActionApprovePullRequest:
|
||||
return "eye"
|
||||
case models.ActionRejectPullRequest:
|
||||
return "x"
|
||||
default:
|
||||
return "invalid type"
|
||||
}
|
||||
|
Reference in New Issue
Block a user