From 855ac868f3893ded305a9da203e54bcee1f6b5f2 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sat, 2 May 2020 16:36:11 +0800 Subject: [PATCH] Fix bug about comment attachment --- templates/repo/issue/view_content/comments.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl index 99884a6796b5b..e3c7df6745ba9 100644 --- a/templates/repo/issue/view_content/comments.tmpl +++ b/templates/repo/issue/view_content/comments.tmpl @@ -52,10 +52,10 @@
{{.Content}}
- {{if .Issue.Attachments}} + {{if .Attachments}}
- {{template "repo/issue/view_content/attachments" Dict "ctx" $ "Attachments" .Issue.Attachments}} + {{template "repo/issue/view_content/attachments" Dict "ctx" $ "Attachments" .Attachments}}
{{end}}