mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-04 01:34:27 +00:00 
			
		
		
		
	Backport #25461 by @wxiaoguang Close #25127  Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
		@@ -167,7 +167,7 @@ func AsCommentType(typeName string) CommentType {
 | 
			
		||||
 | 
			
		||||
func (t CommentType) HasContentSupport() bool {
 | 
			
		||||
	switch t {
 | 
			
		||||
	case CommentTypeComment, CommentTypeCode, CommentTypeReview:
 | 
			
		||||
	case CommentTypeComment, CommentTypeCode, CommentTypeReview, CommentTypeDismissReview:
 | 
			
		||||
		return true
 | 
			
		||||
	}
 | 
			
		||||
	return false
 | 
			
		||||
 
 | 
			
		||||
@@ -767,7 +767,6 @@
 | 
			
		||||
						<img src="{{.Poster.AvatarLink $.Context}}" width="40" height="40">
 | 
			
		||||
					</a>
 | 
			
		||||
					<span class="badge grey">{{svg "octicon-x" 16}}</span>
 | 
			
		||||
					{{template "shared/user/avatarlink" dict "Context" $.Context "user" .Poster}}
 | 
			
		||||
					<span class="text grey muted-links">
 | 
			
		||||
						{{template "shared/user/authorlink" .Poster}}
 | 
			
		||||
						{{$reviewerName := ""}}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user