From: sillyguodong <33891828+sillyguodong@users.noreply.github.com> Date: Tue, 21 Feb 2023 16:08:20 +0000 (+0800) Subject: display attachments of review comment when comment content is blank (#23035) X-Git-Tag: v1.19.0-rc0~6 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=09d737709031b56758f024ef9feabbafd9712cea;p=gitea.git display attachments of review comment when comment content is blank (#23035) fix: #22647 --- diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl index 2a9631d86f..8894a7ffd2 100644 --- a/templates/repo/issue/view_content/comments.tmpl +++ b/templates/repo/issue/view_content/comments.tmpl @@ -399,7 +399,7 @@ {{end}} - {{if .Content}} + {{if or .Content .Attachments}}