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>
  • Loading branch information
jolheiser and sillyguodong authored Feb 21, 2023
1 parent 760cf41 commit bbfd345
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 bbfd345

Please sign in to comment.