Skip to content

Commit

Permalink
Display attachments of review comment when comment content is blank (g…
Browse files Browse the repository at this point in the history
…o-gitea#23035) (go-gitea#23046)

Backport go-gitea#23035

Co-authored-by: sillyguodong <33891828+sillyguodong@users.noreply.github.com>
(cherry picked from commit bbfd345)
  • Loading branch information
jolheiser authored and Loïc Dachary committed Feb 23, 2023
1 parent ad317ec commit 9ae1268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/repo/issue/view_content/comments.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@
{{end}}
</span>
</div>
{{if .Content}}
{{if or .Content .Attachments}}
<div class="timeline-item comment" id="{{.HashTag}}">
<div class="content comment-container">
<div class="ui top attached header comment-header df ac sb">
Expand Down

0 comments on commit 9ae1268

Please sign in to comment.