mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Change review status icons on PR view style to Github style (#10737)
* change the icon of ApproveReview pr from "eye" to "check" like github
* change the icon of RejectReview pr from "x" to "request-change" like github
* add "-" after "{{" which need to be one line (TODO: may be not change all)
Signed-off-by: a1012112796 <1012112796@qq.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
			
			
This commit is contained in:
		@@ -44,8 +44,8 @@ func TestReview_LoadCodeComments(t *testing.T) {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func TestReviewType_Icon(t *testing.T) {
 | 
			
		||||
	assert.Equal(t, "eye", ReviewTypeApprove.Icon())
 | 
			
		||||
	assert.Equal(t, "x", ReviewTypeReject.Icon())
 | 
			
		||||
	assert.Equal(t, "check", ReviewTypeApprove.Icon())
 | 
			
		||||
	assert.Equal(t, "request-changes", ReviewTypeReject.Icon())
 | 
			
		||||
	assert.Equal(t, "comment", ReviewTypeComment.Icon())
 | 
			
		||||
	assert.Equal(t, "comment", ReviewTypeUnknown.Icon())
 | 
			
		||||
	assert.Equal(t, "comment", ReviewType(4).Icon())
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user