diff --git a/models/issues/comment.go b/models/issues/comment.go index e5c90f265..dbe4434ca 100644 --- a/models/issues/comment.go +++ b/models/issues/comment.go @@ -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 diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl index 9097a180e..5f1f506b2 100644 --- a/templates/repo/issue/view_content/comments.tmpl +++ b/templates/repo/issue/view_content/comments.tmpl @@ -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 := ""}}