diff options
author | sillyguodong | 2023-02-22 00:08:20 +0800 |
---|---|---|
committer | GitHub | 2023-02-21 10:08:20 -0600 |
commit | 09d737709031b56758f024ef9feabbafd9712cea (patch) | |
tree | 203e3d6ccf060e303c550077e220eaa382b8aa0b /templates | |
parent | 77f70bd5a39f8f52507f143849d105a3c020f115 (diff) |
display attachments of review comment when comment content is blank (#23035)
fix: #22647
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/issue/view_content/comments.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl index 2a9631d86..8894a7ffd 100644 --- a/templates/repo/issue/view_content/comments.tmpl +++ b/templates/repo/issue/view_content/comments.tmpl @@ -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 gt-df gt-ac gt-sb"> |