Skip to content

Commit bbfd345

Browse files
Display attachments of review comment when comment content is blank (go-gitea#23035) (go-gitea#23046)
Backport go-gitea#23035 Co-authored-by: sillyguodong <[email protected]>
1 parent 760cf41 commit bbfd345

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: templates/repo/issue/view_content/comments.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@
399399
{{end}}
400400
</span>
401401
</div>
402-
{{if .Content}}
402+
{{if or .Content .Attachments}}
403403
<div class="timeline-item comment" id="{{.HashTag}}">
404404
<div class="content comment-container">
405405
<div class="ui top attached header comment-header df ac sb">

0 commit comments

Comments
 (0)