mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	[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>
This commit is contained in:
		@@ -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"
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user