From b6fa93b6f5dbcc67ac31c42be287cfc4699c3bc0 Mon Sep 17 00:00:00 2001 From: sillyguodong Date: Tue, 21 Feb 2023 15:19:44 +0800 Subject: [PATCH] display attachments of review comment when comment content is blank --- templates/repo/issue/view_content/comments.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl index b81c3c7f0351b..576d02ea1b8b7 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}}