Skip to content

Commit 9ae1268

Browse files
jolheiserLoïc Dachary
authored and
Loïc Dachary
committed
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]> (cherry picked from commit bbfd345)
1 parent ad317ec commit 9ae1268

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)